diff options
author | Eric Anholt <[email protected]> | 2012-02-23 11:51:04 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-05-17 10:05:23 -0700 |
commit | 05c200bac049ed4760f0af6786e463e2520b9c9c (patch) | |
tree | 3628b7cc2b72e515027218f05c8dec523f9e0b40 /src/mesa/main | |
parent | f220f73b9c5aca16ca21ea8bbbbf8718703b12cf (diff) |
glsl: Improve the local dead code optimization to eliminate unused channels.
Total instructions: 261582 -> 261316
135/2147 programs affected (6.3%)
36752 -> 36486 instructions in affected programs (0.7% reduction)
This excludes a tropics shader that now gets 16-wide mode and throws
off the numbers. 5 shaders are hurt: two extra MOVs in 4 tropics
shaders it looks like because we don't split register names according
to independent webs, and one gstreamer shader where it looks like
try_rewrite_rhs_to_dst() is falling on its face.
This should also help avoid a regression in VSes from idr's ARB
programs to GLSL work.
Diffstat (limited to 'src/mesa/main')
0 files changed, 0 insertions, 0 deletions