nir/radv: remove restrictions on opt_if_loop_last_continue()
[mesa.git] / src / gallium / auxiliary / nir / tgsi_to_nir.c
index 09e40977fd8f5ca2f2f11e02bb28502a4f76efb3..e3cc5560033104fb0a9746f5f865836387690706 100644 (file)
@@ -2066,7 +2066,7 @@ ttn_optimize_nir(nir_shader *nir, bool scalar)
          NIR_PASS(progress, nir, nir_opt_dce);
       }
 
-      NIR_PASS(progress, nir, nir_opt_if);
+      NIR_PASS(progress, nir, nir_opt_if, false);
       NIR_PASS(progress, nir, nir_opt_dead_cf);
       NIR_PASS(progress, nir, nir_opt_cse);
       NIR_PASS(progress, nir, nir_opt_peephole_select, 8, true, true);