summaryrefslogtreecommitdiff
path: root/src/compiler/glsl/ir_validate.cpp
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2016-04-29 22:06:37 -0700
committerKenneth Graunke <kenneth@whitecape.org>2016-06-06 14:14:31 -0700
commit13b859de044d0f970fcafd4bbb643a307c6ab4eb (patch)
treebbd3a3addaa4700e67b05b46bbbc90b1fa78228a /src/compiler/glsl/ir_validate.cpp
parent0756e3a25ce5e81773a54942d737ba4643e2f7dc (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 <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/compiler/glsl/ir_validate.cpp')
0 files changed, 0 insertions, 0 deletions