diff --git a/src/microsoft/spirv_to_dxil/dxil_spirv_nir.c b/src/microsoft/spirv_to_dxil/dxil_spirv_nir.c index 6df633816f9..147ca0e6988 100644 --- a/src/microsoft/spirv_to_dxil/dxil_spirv_nir.c +++ b/src/microsoft/spirv_to_dxil/dxil_spirv_nir.c @@ -1025,9 +1025,6 @@ dxil_spirv_nir_passes(nir_shader *nir, NIR_PASS_V(nir, nir_lower_discard_or_demote, nir->info.use_legacy_math_rules); NIR_PASS_V(nir, dxil_nir_lower_discard_and_terminate); - /* Remove single-source phis now that returns have been inserted, otherwise - * lowering returns might not behave correctly. */ - NIR_PASS_V(nir, nir_opt_remove_phis); NIR_PASS_V(nir, nir_lower_returns); NIR_PASS_V(nir, dxil_nir_lower_sample_pos); NIR_PASS_V(nir, nir_lower_fragcoord_wtrans);