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/mesa/drivers/dri/i965/Makefile.sources | |
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/mesa/drivers/dri/i965/Makefile.sources')
-rw-r--r-- | src/mesa/drivers/dri/i965/Makefile.sources | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/Makefile.sources b/src/mesa/drivers/dri/i965/Makefile.sources index 961e6ad2f99..2d2e85bfd3a 100644 --- a/src/mesa/drivers/dri/i965/Makefile.sources +++ b/src/mesa/drivers/dri/i965/Makefile.sources @@ -114,6 +114,7 @@ i965_CXX_FILES = \ brw_fs.cpp \ brw_fs_cfg.cpp \ brw_fs_cse.cpp \ + brw_fs_copy_propagation.cpp \ brw_fs_emit.cpp \ brw_fs_live_variables.cpp \ brw_fs_visitor.cpp \ |