summaryrefslogtreecommitdiffstats
path: root/src/mesa/x86/clip_args.h
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2012-06-06 11:06:51 -0700
committerEric Anholt <[email protected]>2012-07-03 12:57:04 -0700
commit0c4630bae001139dea42b78cd08157de4d90542b (patch)
treed43f4455c178b0085fdfac277ba74b0de527fdd4 /src/mesa/x86/clip_args.h
parent458f7f014139deb48a4cf0a9e6bdca3a57d24208 (diff)
i965/fs: Allow copy propagation with source modifiers.
This shaves a few instructions off of a ton of programs. For 12 shaders from tropics and sanctuary, it's enough reduction in register pressure to get 16-wide mode. 7 shaders from heroes of newerth and savage2 are hurt by about 1.1%, where copy propagation of negates ends up preventing coalescing, but we could regain that by doing dataflow analysis in our copy propagation. No significant performance difference in tropics (n=11) Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/x86/clip_args.h')
0 files changed, 0 insertions, 0 deletions