summaryrefslogtreecommitdiffstats
path: root/src/glsl/test_optpass.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2011-07-17 17:33:26 -0700
committerIan Romanick <[email protected]>2011-07-23 01:24:18 -0700
commit5f83dfe5b70337bcffe215f7c32d0b862b5e7a3b (patch)
tree8a18305a6eab6069f145fd0ffead325f9de4861f /src/glsl/test_optpass.cpp
parent1731ac308631138ca98d34e8b7070c6e3f981939 (diff)
glsl: When lowering non-constant array indexing, respect existing conditions
If the non-constant index was in the LHS of an assignment, any existing condititon on that assignment would be lost. Fixes i965 piglit: fs-temp-array-mat[234]-col-row-wr fs-temp-array-mat[234]-index-col-row-wr fs-temp-array-mat[234]-index-col-wr fs-temp-array-mat[234]-index-row-wr vs-varying-array-mat[234]-index-col-wr Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/glsl/test_optpass.cpp')
0 files changed, 0 insertions, 0 deletions