nir/radv: remove restrictions on opt_if_loop_last_continue()
[mesa.git] / src / intel / compiler / brw_nir.c
index 238db902b4769fcac28010bbaa62c8f847b52edb..2e63efdc4272cf73913ebd131d814e66a76e2509 100644 (file)
@@ -609,7 +609,7 @@ brw_nir_optimize(nir_shader *nir, const struct brw_compiler *compiler,
          OPT(nir_copy_prop);
          OPT(nir_opt_dce);
       }
-      OPT(nir_opt_if);
+      OPT(nir_opt_if, false);
       if (nir->options->max_unroll_iterations != 0) {
          OPT(nir_opt_loop_unroll, indirect_mask);
       }