aco: add reg() helper to assembler
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 16 Jun 2022 18:36:24 +0000 (19:36 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 26 Sep 2022 14:49:56 +0000 (14:49 +0000)
commit78779fd63d491c7a3b844fdbdde7156b78bbc00d
tree3fde87189f81dba6a8eb8ec40ecbf6a1290f6ed9
parent7a1b5221481db7dac11343b8f31b6c3ee49b524d
aco: add reg() helper to assembler

SGPR encoding is slightly different on GFX11.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17333>
src/amd/compiler/aco_assembler.cpp