glsl: Disable the new copy propagation pass until it gets fixed.
authorEric Anholt <eric@anholt.net>
Tue, 8 Feb 2011 07:27:03 +0000 (23:27 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 8 Feb 2011 19:41:05 +0000 (11:41 -0800)
It apparently regressed a bunch of ES2 cases.

src/glsl/glsl_parser_extras.cpp

index c2bb59b9cac4fa971390a6d093c1dbe2033db16a..d7a37aef46dbe2240cde78282d351d6d2485cc39 100644 (file)
@@ -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