mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
panfrost: Don't allocate storage for PSIZ on Valhall
It's implicit. Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16035>
This commit is contained in:
parent
44689b222a
commit
af6071053b
1 changed files with 7 additions and 0 deletions
|
|
@ -124,6 +124,13 @@ collect_varyings(nir_shader *s, nir_variable_mode varying_mode,
|
|||
if (PAN_ARCH >= 6 && var->data.interpolation == INTERP_MODE_FLAT)
|
||||
type = nir_type_uint;
|
||||
|
||||
/* Point size is handled specially on Valhall (with malloc
|
||||
* IDVS).. probably though this entire linker should be bypassed
|
||||
* for Valhall in the future.
|
||||
*/
|
||||
if (PAN_ARCH >= 9 && var->data.location == VARYING_SLOT_PSIZ)
|
||||
continue;
|
||||
|
||||
/* Demote to fp16 where possible. int16 varyings are TODO as the hw
|
||||
* will saturate instead of wrap which is not conformant, so we need to
|
||||
* insert i2i16/u2u16 instructions before the st_vary_32i/32u to get
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue