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:
Christian Gmeiner 2025-06-11 23:24:02 +02:00 committed by Marge Bot
parent 8519cd2a0d
commit 29f2566542

View file

@ -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.