commit | 129178893b2260df22db96327c5ca9c2ce7db046 | [log] [tgz] |
---|---|---|
author | Chris Forbes <chrisf@ijw.co.nz> | Tue Nov 18 21:15:05 2014 +1300 |
committer | Chris Forbes <chrisf@ijw.co.nz> | Mon Nov 24 21:07:56 2014 +1300 |
tree | 678cc494d49f73a39dcef55e3be0a224e61c8ad7 | |
parent | adefccd12a534f0deac7b78db73693fe1dcef2ec [diff] |
glsl: Generate unique names for each const array lowered to uniforms 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 <chrisf@ijw.co.nz> Cc: "10.4" <mesa-stable@lists.freedesktop.org> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>