diff options
author | Eric Anholt <[email protected]> | 2012-05-08 13:01:52 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-05-14 16:53:19 -0700 |
commit | d7787adda8006506545256547d8d590a282487af (patch) | |
tree | 4b7591444afcbf2a6a76cb2c65cfb1fb8add53f9 /src/glsl/glsl_parser_extras.cpp | |
parent | f7a71e2570053205eb603aa04b8c52d4f54d8e4c (diff) |
i965/fs: Add support for copy propagation.
We could do more by handling abs/negate and non-GRF sources, but this is
a good start. Improves tropics performance 0.30% +/- .17% (n=43).
shader-db results:
Total instructions: 208032 -> 207184
60/1246 programs affected (4.8%)
23286 -> 22438 instructions in affected programs (3.6% reduction)
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/glsl/glsl_parser_extras.cpp')
0 files changed, 0 insertions, 0 deletions