From 88cce35415d611cd1bb5e7e23e3c21c8d8b88dc7 Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Thu, 4 Dec 2025 11:49:18 -0500 Subject: [PATCH] pan/bi: Stop lowering point size to float16 early This is now handled by the varying layout on Valhall+ Reviewed-by: Lorenzo Rossi Acked-by: Eric R. Smith Part-of: --- src/panfrost/compiler/bifrost/bifrost_compile.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/panfrost/compiler/bifrost/bifrost_compile.c b/src/panfrost/compiler/bifrost/bifrost_compile.c index 66f2534fe2a..54019b412e9 100644 --- a/src/panfrost/compiler/bifrost/bifrost_compile.c +++ b/src/panfrost/compiler/bifrost/bifrost_compile.c @@ -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