ir_to_mesa: Don't assume that an ir_dereference_array is of a variable.
authorEric Anholt <eric@anholt.net>
Thu, 26 Aug 2010 18:23:09 +0000 (11:23 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 26 Aug 2010 18:23:09 +0000 (11:23 -0700)
commit264ba1ab88f273dc92add8018f24edcdd67fa5e5
tree4344990e6e230d474530547e516164cdd741da4b
parent2db7bb9c665d13fd067109b1171eedd92764791d
ir_to_mesa: Don't assume that an ir_dereference_array is of a variable.

Fixes:
glsl-array-bounds-02 (software)
glsl-array-bounds-04
glsl-array-bounds-06 (software)
glsl-array-bounds-08
src/mesa/program/ir_to_mesa.cpp