diff --git a/src/panfrost/compiler/bifrost_compile.c b/src/panfrost/compiler/bifrost_compile.c index bc51b071599..be91788642e 100644 --- a/src/panfrost/compiler/bifrost_compile.c +++ b/src/panfrost/compiler/bifrost_compile.c @@ -5536,9 +5536,9 @@ bifrost_preprocess_nir(nir_shader *nir, unsigned gpu_id) glsl_type_size, nir_lower_io_use_interpolated_input_intrinsics); if (nir->info.stage == MESA_SHADER_VERTEX) - NIR_PASS_V(nir, pan_nir_lower_noperspective_vs); + NIR_PASS(_, nir, pan_nir_lower_noperspective_vs); if (nir->info.stage == MESA_SHADER_FRAGMENT) - NIR_PASS_V(nir, pan_nir_lower_noperspective_fs); + NIR_PASS(_, nir, pan_nir_lower_noperspective_fs); /* nir_lower[_explicit]_io is lazy and emits mul+add chains even for * offsets it could figure out are constant. Do some constant folding