Re: [Mesa-dev] [PATCH 5/5] glsl: Update array access tracker of function parameters.

2013-06-18 Thread Fabian Bieler
On 2013-06-18 11:14, Ian Romanick wrote: > On 06/03/2013 01:23 PM, Fabian Bieler wrote: >> Uniform arrays are subject to beeing shrunk if higher members were not >> accessed. > ^^ > being > >> Update the max_array_access flag so array members that were only acc

Re: [Mesa-dev] [PATCH 5/5] glsl: Update array access tracker of function parameters.

2013-06-18 Thread Ian Romanick
On 06/03/2013 01:23 PM, Fabian Bieler wrote: Uniform arrays are subject to beeing shrunk if higher members were not accessed. ^^ being Update the max_array_access flag so array members that were only accessed in the function are not optimized away. This fix

[Mesa-dev] [PATCH 5/5] glsl: Update array access tracker of function parameters.

2013-06-03 Thread Fabian Bieler
Uniform arrays are subject to beeing shrunk if higher members were not accessed. Update the max_array_access flag so array members that were only accessed in the function are not optimized away. This fixes Piglit test spec/glsl-1.10/execution/samplers/in-parameter-array.shader_test. Signed-off-by