agx: Allow 64-bit memory regs
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Tue, 1 Aug 2023 11:26:03 +0000 (07:26 -0400)
committerMarge Bot <emma+marge@anholt.net>
Fri, 11 Aug 2023 20:31:27 +0000 (20:31 +0000)
commitd2224544d68d7aedcbaf83fdec9ea7fc7603bf6a
treed619e69128cd9ef50c3050040794a8b228b88f99
parentd0b966cb10656457af503cffc5792ae75a895655
agx: Allow 64-bit memory regs

The mask is based on the format, which can be at most 32-bits per channel. So if
we have 64-bit loads/stores we're still using a 32-bit format with double the
bits set in the mask. This will fix validation fails with spilling.

No shader-db changes.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24635>
src/asahi/compiler/agx_pack.c
src/asahi/compiler/agx_register_allocate.c