From: Eric Anholt Date: Tue, 8 Feb 2011 07:27:03 +0000 (-0800) Subject: glsl: Disable the new copy propagation pass until it gets fixed. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=60aab5f335537e5b6788132e2563865243483750;p=mesa.git glsl: Disable the new copy propagation pass until it gets fixed. It apparently regressed a bunch of ES2 cases. --- diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp index c2bb59b9cac..d7a37aef46d 100644 --- a/src/glsl/glsl_parser_extras.cpp +++ b/src/glsl/glsl_parser_extras.cpp @@ -764,7 +764,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