aco: don't allow unaligned subdword accesses on GFX6/7
authorDaniel Schürmann <daniel@schuermann.dev>
Wed, 6 May 2020 10:00:24 +0000 (11:00 +0100)
committerMarge Bot <eric+marge@anholt.net>
Thu, 21 May 2020 12:07:40 +0000 (12:07 +0000)
commit51f4b22feec3720c89458094a3245efc984115ee
tree25933a328d9b4b1b0e320ba6da88b18b400d1b74
parentae390755fea8b48f63314ecfd2699e1d2c375e76
aco: don't allow unaligned subdword accesses on GFX6/7

There are no SDWA instructions which means that only
full registers can be accessed.

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