mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-02 01:28:07 +02:00
dxil: Don't run opt_remove_phis before lower_returns
nir_lower_returns will run nir_opt_remove_phis as part of its work Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22913>
This commit is contained in:
parent
cc136cacfa
commit
0373b02cf6
1 changed files with 0 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue