glsl: When assiging from a whole array, mark it as used.
authorEric Anholt <eric@anholt.net>
Wed, 7 Sep 2011 18:53:20 +0000 (11:53 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 9 Sep 2011 03:20:49 +0000 (20:20 -0700)
commit407a1001aefcb15e8d066031417d91ea22f1daf1
tree6258e69f18b1b9fddb2913e13bae8f59fbab3f9e
parentd00deae3ef3a7828de1e566ad95b3a5b1ab7034d
glsl: When assiging from a whole array, mark it as used.

Fixes piglit link-uniform-array-size.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/ast_to_hir.cpp