glsl2: Don't consider uniform initializers as constant expressions.
authorEric Anholt <eric@anholt.net>
Mon, 2 Aug 2010 22:31:28 +0000 (15:31 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 3 Aug 2010 00:47:35 +0000 (17:47 -0700)
commit5704ed27dd2ebc88639cbd32ac971939ef3c267a
tree91a8dd47861781e372ae1cc26d969e040455a9a7
parentb10bb527eaf39378da25dd4ad21b1c68ceaa1e2d
glsl2: Don't consider uniform initializers as constant expressions.

We were happily optimizing away the body of
glsl-uniform-initializer-* to never use the uniforms.
src/glsl/ir_constant_expression.cpp