Re: [Mesa-dev] [PATCH] glsl: don't try to lower non-gl builtins as if they were gl_FragData

2016-07-02 Thread Marek Olšák
Cc stable? Reviewed-by: Marek Olšák Marek On Sat, Jul 2, 2016 at 1:13 AM, Ilia Mirkin wrote: > If a shader has an output array, it will get treated as though it were > gl_FragData and rewritten into gl_out_FragData instances. We only want > this to happen on the actual gl_FragData and not ever

[Mesa-dev] [PATCH] glsl: don't try to lower non-gl builtins as if they were gl_FragData

2016-07-01 Thread Ilia Mirkin
If a shader has an output array, it will get treated as though it were gl_FragData and rewritten into gl_out_FragData instances. We only want this to happen on the actual gl_FragData and not everything else. This is a small part of the problem pointed out by the below bug. Bugzilla: https://bugs.