glsl: Propagate invariant/precise after lowering const arrays.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 22 Jun 2016 00:42:59 +0000 (17:42 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 23 Jun 2016 18:58:50 +0000 (11:58 -0700)
commit586f4a42e78f171c28c3ae37adb8671e09bd74b4
tree0b909031f7166b5730ba3c2b87f3b71b154732b1
parentc264fdbc073a0dfc393f53a8be880f535fd4b988
glsl: Propagate invariant/precise after lowering const arrays.

The new uniform may need precise as well.

Fixes copy propagation of constant array uniforms in Tomb Raider shaders.

Cc: mesa-stable@lists.freedesktop.org
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/compiler/glsl/linker.cpp