summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2011-04-02 20:19:20 -0700
committerEric Anholt <[email protected]>2011-04-13 10:51:03 -0700
commit6a35cbb656e0f8a2479a63eadefb1ab85f42d490 (patch)
tree4b9f5268bace375c95461e9cac8e93de29dc5898 /src
parent909bd476ca65035b93399c7b95f7118b1cded3f2 (diff)
glsl/opt_cpe: Reenable opt_copy_propagation_elements.cpp pass.
Diffstat (limited to 'src')
-rw-r--r--src/glsl/glsl_parser_extras.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp
index e8881e4d60e..5bb3a6f25a3 100644
--- 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