pan/bi: Stop lowering point size to float16 early

This is now handled by the varying layout on Valhall+

Reviewed-by: Lorenzo Rossi <lorenzo.rossi@collabora.com>
Acked-by: Eric R. Smith <eric.smith@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38681>
This commit is contained in:
Faith Ekstrand 2025-12-04 11:49:18 -05:00 committed by Marge Bot
parent 85d6ff06fd
commit 88cce35415

View file

@ -6280,8 +6280,7 @@ bifrost_postprocess_nir(nir_shader *nir, unsigned gpu_id)
NIR_PASS(_, nir, bifrost_nir_lower_load_output);
} else if (nir->info.stage == MESA_SHADER_VERTEX) {
NIR_PASS(_, nir, nir_lower_viewport_transform);
NIR_PASS(_, nir, nir_lower_point_size, 1.0, 0.0,
pan_arch(gpu_id) >= 9 ? nir_type_float16 : nir_type_float32);
NIR_PASS(_, nir, nir_lower_point_size, 1.0, 0.0, nir_type_float32);
NIR_PASS(_, nir, pan_nir_lower_noperspective_vs);
/* nir_lower[_explicit]_io is lazy and emits mul+add chains even