mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 06:40:11 +01:00
nir/lower_shader_calls: add NIR_PASS_V internally
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16556>
This commit is contained in:
parent
dc70519c8a
commit
6d7e04d924
1 changed files with 1 additions and 1 deletions
|
|
@ -1463,7 +1463,7 @@ nir_lower_shader_calls(nir_shader *shader,
|
|||
NIR_PASS_V(shader, spill_ssa_defs_and_lower_shader_calls,
|
||||
num_calls, stack_alignment);
|
||||
|
||||
nir_opt_remove_phis(shader);
|
||||
NIR_PASS_V(shader, nir_opt_remove_phis);
|
||||
|
||||
/* Make N copies of our shader */
|
||||
nir_shader **resume_shaders = ralloc_array(mem_ctx, nir_shader *, num_calls);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue