summaryrefslogtreecommitdiffstats
path: root/src/glsl/opt_cse.cpp
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2013-10-20 14:02:08 -0700
committerFrancisco Jerez <[email protected]>2013-11-04 12:12:37 -0800
commit34fe051e215107dddbaae71e2edf15f88d839936 (patch)
tree434dc2ff99387dcf328854cc76e1aa7270be0929 /src/glsl/opt_cse.cpp
parentbf045bf9b409c47019fa7d9c859eaf8d50dd7032 (diff)
i965: Add a 'has_side_effects' back-end instruction predicate.
This patch fixes the three dead code elimination passes and the VEC4/FS instruction scheduling passes so they leave instructions with side effects alone. At some point it might be interesting to have the instruction scheduler calculate the exact memory dependencies between atomic ops, but they're rare enough that it seems unlikely that it will make any practical difference. Reviewed-by: Paul Berry <[email protected]>
Diffstat (limited to 'src/glsl/opt_cse.cpp')
0 files changed, 0 insertions, 0 deletions