[Mesa-dev] [PATCH 1/5] glsl: Add support for specifying the component in textureGather

2013-10-05 Thread Chris Forbes
ARB_gpu_shader5 introduces new variants of textureGather* which have an explicit component selector, rather than relying purely on the sampler's swizzle state. This patch adds the GLSL plumbing for the extra parameter. Signed-off-by: Chris Forbes chr...@ijw.co.nz ---

Re: [Mesa-dev] [PATCH 1/5] glsl: Add support for specifying the component in textureGather

2013-10-05 Thread Kenneth Graunke
On 10/05/2013 03:38 AM, Chris Forbes wrote: ARB_gpu_shader5 introduces new variants of textureGather* which have an explicit component selector, rather than relying purely on the sampler's swizzle state. This patch adds the GLSL plumbing for the extra parameter. Signed-off-by: Chris

Re: [Mesa-dev] [PATCH 1/5] glsl: Add support for specifying the component in textureGather

2013-10-05 Thread Chris Forbes
Yes, that's clearer; what I had was a strange artifact of how it grew :) -- Chris On Sun, Oct 6, 2013 at 6:54 AM, Kenneth Graunke kenn...@whitecape.org wrote: On 10/05/2013 03:38 AM, Chris Forbes wrote: ARB_gpu_shader5 introduces new variants of textureGather* which have an explicit component