diff options
author | Eric Anholt <[email protected]> | 2011-04-02 20:17:17 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-04-13 10:51:03 -0700 |
commit | 487debfda56ad3855db655688186401b0dd75233 (patch) | |
tree | af08c9930876428de0c105220e9fc9408d630cfe /src/glsl/ir_visitor.h | |
parent | b9c8b2a1f1b2fe2e02b314790ebdc465f0ffec6e (diff) |
glsl/opt_cpe: Kill when the assignment isn't something we recognize.
A few GLES2 tests tripped over this when using array dereferences to
hit channels on the LHS (see piglit test
glsl-copy-propagation-vector-indexing). We wouldn't find the
ir_dereference_variable, and assume that that meant that it wasn't an
assignment to a scalar/vector, and thus not notice that the variable
had been changed.
Diffstat (limited to 'src/glsl/ir_visitor.h')
0 files changed, 0 insertions, 0 deletions