From 6a35cbb656e0f8a2479a63eadefb1ab85f42d490 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Sat, 2 Apr 2011 20:19:20 -0700 Subject: glsl/opt_cpe: Reenable opt_copy_propagation_elements.cpp pass. --- src/glsl/glsl_parser_extras.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3