asahi: don't reserve extra UVS space for layer

it's a sysval now

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29179>
This commit is contained in:
Alyssa Rosenzweig 2024-04-27 11:40:47 -04:00 committed by Marge Bot
parent 48d16b3972
commit 76bb81dd59
1 changed files with 1 additions and 1 deletions

View File

@ -150,7 +150,7 @@ agx_nir_lower_uvs(nir_shader *s, struct agx_unlinked_uvs_layout *layout)
for (unsigned i = 0; i < ARRAY_SIZE(layout->components); ++i) {
if (i != VARYING_SLOT_POS && i != VARYING_SLOT_PSIZ &&
layout->components[i]) {
i != VARYING_SLOT_LAYER && layout->components[i]) {
layout->written |= BITFIELD64_BIT(i);
sizes[UVS_VARYINGS] += layout->components[i];