mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-21 15:28:18 +02:00
st/mesa: Remove NIR_PASS_V usage
Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com> Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35480>
This commit is contained in:
parent
8519cd2a0d
commit
29f2566542
1 changed files with 2 additions and 2 deletions
|
|
@ -476,8 +476,8 @@ st_link_glsl_to_nir(struct gl_context *ctx,
|
|||
/* Since IO is lowered, we won't need the IO variables from now on.
|
||||
* nir_build_program_resource_list was the last pass that needed them.
|
||||
*/
|
||||
NIR_PASS_V(nir, nir_remove_dead_variables,
|
||||
nir_var_shader_in | nir_var_shader_out, NULL);
|
||||
NIR_PASS(_, nir, nir_remove_dead_variables,
|
||||
nir_var_shader_in | nir_var_shader_out, NULL);
|
||||
|
||||
/* If there are forms of indirect addressing that the driver
|
||||
* cannot handle, perform the lowering pass.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue