panfrost: remove NIR_PASS_V usage for noperspective lowering

The rest of the NIR_PASS_V usage in panfrost was dropped in
34beb93635, but this one was added in an
MR that was merged after.

Signed-off-by: Benjamin Lee <benjamin.lee@collabora.com>
Fixes: 081438ad39 ("panfrost: add nir pass to lower noperspective varyings")
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Mary Guillemard <mary.guillemard@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33728>
This commit is contained in:
Benjamin Lee 2025-02-24 20:34:00 -08:00 committed by Marge Bot
parent a030acd7c3
commit 3b5d5c072a

View file

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