aboutsummaryrefslogtreecommitdiffstats
path: root/src/glsl/ir.cpp
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2010-07-12 15:32:37 -0700
committerEric Anholt <[email protected]>2010-07-12 16:07:02 -0700
commitb87259d3efeadf05556e2daf688935a038097bba (patch)
tree4fb8db72174bc2f8cb6e9407bc5d9e47803a8255 /src/glsl/ir.cpp
parent8258a6a2c36c9769428f4525415d6c0d565e588c (diff)
glsl2: Fix copy propagation in the presence of derefs in array indexes.
We would clear the in_lhs flag early, avoiding copy propagation on the array index variable (oops) and then copy propagating on the array variable (ouch). Just avoid all copy propagation on the LHS instead.
Diffstat (limited to 'src/glsl/ir.cpp')
0 files changed, 0 insertions, 0 deletions