summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Abbott <cwabbott0@gmail.com>2015-05-21 00:42:22 -0400
committerConnor Abbott <connor.w.abbott@intel.com>2015-07-21 19:59:19 -0700
commit4409e9d4ae872ebd3391267b8ed32b1ce1ddf960 (patch)
treeecb25997426e6383bd77a09ac855c59c29816113
parent9be10c4644340be87d07aa228508b0f4f61167d2 (diff)
XXX disable opt_if_simplificationnir-dead-cf-v5
This helps with testing the NIR dead cf pass.
-rw-r--r--src/glsl/glsl_parser_extras.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp
index 5412f0b788..2948607870 100644
--- a/src/glsl/glsl_parser_extras.cpp
+++ b/src/glsl/glsl_parser_extras.cpp
@@ -1649,7 +1649,7 @@ do_common_optimization(exec_list *ir, bool linked,
progress = do_dead_functions(ir) || progress;
progress = do_structure_splitting(ir) || progress;
}
- progress = do_if_simplification(ir) || progress;
+ //progress = do_if_simplification(ir) || progress;
progress = opt_flatten_nested_if_blocks(ir) || progress;
progress = opt_conditional_discard(ir) || progress;
progress = do_copy_propagation(ir) || progress;