projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
909bd47
)
glsl/opt_cpe: Reenable opt_copy_propagation_elements.cpp pass.
author
Eric Anholt
<eric@anholt.net>
Sun, 3 Apr 2011 03:19:20 +0000
(20:19 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 13 Apr 2011 17:51:03 +0000
(10:51 -0700)
src/glsl/glsl_parser_extras.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/glsl_parser_extras.cpp
b/src/glsl/glsl_parser_extras.cpp
index e8881e4d60e6d1a287c97e4cdd970c22ba012656..5bb3a6f25a34d7dbcd75f1766542f4cf1b6bf5fb 100644
(file)
--- a/
src/glsl/glsl_parser_extras.cpp
+++ b/
src/glsl/glsl_parser_extras.cpp
@@
-768,7
+768,7
@@
do_common_optimization(exec_list *ir, bool linked, unsigned max_unroll_iteration
progress = do_if_simplification(ir) || progress;
progress = do_discard_simplification(ir) || progress;
progress = do_copy_propagation(ir) || progress;
- /*progress = do_copy_propagation_elements(ir) || progress;*/
+ progress = do_copy_propagation_elements(ir) || progress;
if (linked)
progress = do_dead_code(ir) || progress;
else