panfrost: Disable point size upper limit clamping
The hardware already clamps this, there is no need to do it in the shader. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15250>
This commit is contained in:
parent
66684339d5
commit
198cb4a77a
|
@ -3880,7 +3880,7 @@ bi_finalize_nir(nir_shader *nir, unsigned gpu_id, bool is_blend)
|
|||
|
||||
if (nir->info.stage == MESA_SHADER_VERTEX) {
|
||||
NIR_PASS_V(nir, nir_lower_viewport_transform);
|
||||
NIR_PASS_V(nir, nir_lower_point_size, 1.0, 1024.0);
|
||||
NIR_PASS_V(nir, nir_lower_point_size, 1.0, 0.0);
|
||||
}
|
||||
|
||||
/* Lower large arrays to scratch and small arrays to bcsel (TODO: tune
|
||||
|
|
|
@ -3155,7 +3155,7 @@ midgard_compile_shader_nir(nir_shader *nir,
|
|||
|
||||
if (ctx->stage == MESA_SHADER_VERTEX) {
|
||||
NIR_PASS_V(nir, nir_lower_viewport_transform);
|
||||
NIR_PASS_V(nir, nir_lower_point_size, 1.0, 1024.0);
|
||||
NIR_PASS_V(nir, nir_lower_point_size, 1.0, 0.0);
|
||||
}
|
||||
|
||||
NIR_PASS_V(nir, nir_lower_var_copies);
|
||||
|
|
Loading…
Reference in New Issue