asahi: Don't use deprecated NIR_PASS_V macro

Signed-off-by: Christian Gmeiner <cgmeiner@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35118>
This commit is contained in:
Christian Gmeiner
2025-05-22 20:58:54 +02:00
committed by Marge Bot
parent aa2ff0261b
commit ea73edde07

View File

@@ -1625,7 +1625,7 @@ agx_compile_variant(struct agx_device *dev, struct pipe_context *pctx,
outputs = nir->info.outputs_written;
}
} else if (nir->info.stage == MESA_SHADER_TESS_CTRL) {
NIR_PASS_V(nir, agx_nir_lower_tcs);
NIR_PASS(_, nir, agx_nir_lower_tcs);
} else if (nir->info.stage == MESA_SHADER_GEOMETRY) {
struct asahi_gs_shader_key *key = &key_->gs;