From 60aab5f335537e5b6788132e2563865243483750 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 7 Feb 2011 23:27:03 -0800 Subject: [PATCH] glsl: Disable the new copy propagation pass until it gets fixed. It apparently regressed a bunch of ES2 cases. --- src/glsl/glsl_parser_extras.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2