[Mesa-dev] [PATCH v2 14/14] XXX disable opt_if_simplification
Connor Abbott
cwabbott0 at gmail.com
Thu May 21 09:41:09 PDT 2015
This helps with testing the NIR dead cf pass.
Signed-off-by: Connor Abbott <cwabbott0 at gmail.com>
---
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 be6713c..42e9b49 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;
--
2.1.0
More information about the mesa-dev
mailing list