glsl: use reproducible name for lowered const arrays
authorTimothy Arceri <timothy.arceri@collabora.com>
Thu, 14 Apr 2016 06:48:39 +0000 (16:48 +1000)
committerTimothy Arceri <timothy.arceri@collabora.com>
Tue, 27 Sep 2016 01:11:15 +0000 (11:11 +1000)
commit481d8ec2914ae0b1a53657c165a63a9fe24d5f27
treecdc83db6407a800a2ab6cd17d5f1d47fb1d3fd96
parent017081a3e50d2907045fdd0a4811bb83a025ba07
glsl: use reproducible name for lowered const arrays

Otherwise we can end up with mismatching names between the cached
binary and the cached metadata.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/compiler/glsl/ir_optimization.h
src/compiler/glsl/linker.cpp
src/compiler/glsl/lower_const_arrays_to_uniforms.cpp