From: Eric Anholt Date: Sun, 3 Apr 2011 03:19:20 +0000 (-0700) Subject: glsl/opt_cpe: Reenable opt_copy_propagation_elements.cpp pass. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6a35cbb656e0f8a2479a63eadefb1ab85f42d490;p=mesa.git glsl/opt_cpe: Reenable opt_copy_propagation_elements.cpp pass. --- 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