summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Abbott <cwabbott0@gmail.com>2015-05-21 00:42:22 -0400
committerConnor Abbott <cwabbott0@gmail.com>2015-05-21 03:05:44 -0400
commit834e4ae21e083bb580906175278c3e2a923c8f86 (patch)
treed8499162d403112a4fb06ad63d97e50cd6c09dee
parent08454600f724c51116c97653da663e7e73179994 (diff)
XXX disable opt_if_simplificationnir-dead-cf-v4
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 be6713c46a..42e9b498e4 100644
--- a/src/glsl/glsl_parser_extras.cpp
+++ b/src/glsl/glsl_parser_extras.cpp
@@ -1646,7 +1646,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;