glsl: Mark the array access for whole-array comparisons.
authorEric Anholt <eric@anholt.net>
Wed, 1 Dec 2010 23:55:53 +0000 (15:55 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 2 Dec 2010 00:14:34 +0000 (16:14 -0800)
commitb4f585665c31b1f80d909e38b3b2a9fab0c03076
tree958cd5409c25ad5fa7f4c9dee22a4027ebc055ac
parentf361f8a8a9a71d84fc569445902adacc2f2cc069
glsl: Mark the array access for whole-array comparisons.

By not doing so, the uniform contents of
glsl-uniform-non-uniform-array-compare.shader_test was getting thrown
out since nobody was recorded as dereferencing the array.
src/glsl/ast_to_hir.cpp