diff options
author | Francisco Jerez <[email protected]> | 2013-10-20 14:02:08 -0700 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2013-11-04 12:12:37 -0800 |
commit | 34fe051e215107dddbaae71e2edf15f88d839936 (patch) | |
tree | 434dc2ff99387dcf328854cc76e1aa7270be0929 /src/glsl/glsl_parser_extras.cpp | |
parent | bf045bf9b409c47019fa7d9c859eaf8d50dd7032 (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/glsl_parser_extras.cpp')
0 files changed, 0 insertions, 0 deletions