diff options
author | Kenneth Graunke <[email protected]> | 2016-04-29 22:06:37 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-06-06 14:14:31 -0700 |
commit | 13b859de044d0f970fcafd4bbb643a307c6ab4eb (patch) | |
tree | bbd3a3addaa4700e67b05b46bbbc90b1fa78228a /src/compiler/glsl/glsl_parser_extras.cpp | |
parent | 0756e3a25ce5e81773a54942d737ba4643e2f7dc (diff) |
glsl: Make opt_copy_propagation_elements actually propagate into loops.
We've had a FINISHME here since Eric originally wrote the code in 2011.
This patch implements his suggested approach, which makes us actually
able to copy propagate into the loops, at the unfortunate cost of making
this pass even more expensive.
The shader-db statistics are basically a wash:
No change in instruction counts.
total cycles in shared programs: 78685980 -> 78680730 (-0.01%)
cycles in affected programs: 2102646 -> 2097396 (-0.25%)
helped: 48
HURT: 83
I figured if we're going to do this for one copy propagation pass,
we may as well do it in both.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/compiler/glsl/glsl_parser_extras.cpp')
0 files changed, 0 insertions, 0 deletions