mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
panfrost: remove NIR_PASS_V usage for noperspective lowering
The rest of the NIR_PASS_V usage in panfrost was dropped in34beb93635, 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:
parent
a030acd7c3
commit
3b5d5c072a
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue