aco: fix shared VGPR allocation on RDNA2
authorDaniel Schürmann <daniel@schuermann.dev>
Fri, 5 Feb 2021 17:25:18 +0000 (18:25 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 12 Feb 2021 19:00:18 +0000 (19:00 +0000)
commitbacc3b36f55ed1f0fbb8a7efdfb072a0f3ee4ee1
treee0f7d7077dbef3eb7df38e1f6e93ae2251a3afed
parent04df0cb4ae7055b0a4a6dc9875aa5926131fe5f4
aco: fix shared VGPR allocation on RDNA2

VGPRs are now allocated in blocks of 8 normal
or 16 shared VGPRs, respectively.

Fixes: 14a5021aff661a26d76f330fec55d400d35443a8 ('aco/gfx10: Refactor of GFX10 wave64 bpermute.')

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8921>
src/amd/compiler/aco_instruction_selection.cpp