[Mesa-dev] [PATCH 1/2] glsl: Generate unique names for each const array lowered to uniforms

2014-11-18 Thread Chris Forbes
Uniform names (even for hidden uniforms) are required to be unique; some parts of the compiler assume they can be looked up by name. Fixes the piglit test: tests/spec/glsl-1.20/linker/array-initializers-1 Signed-off-by: Chris Forbes chr...@ijw.co.nz Cc: 10.4 mesa-sta...@lists.freedesktop.org ---

Re: [Mesa-dev] [PATCH 1/2] glsl: Generate unique names for each const array lowered to uniforms

2014-11-18 Thread Kenneth Graunke
On Tuesday, November 18, 2014 09:15:05 PM Chris Forbes wrote: Uniform names (even for hidden uniforms) are required to be unique; some parts of the compiler assume they can be looked up by name. Fixes the piglit test: tests/spec/glsl-1.20/linker/array-initializers-1 Signed-off-by: Chris