aco: validate that SMEM operands can use fixed registers
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 19 Aug 2020 07:41:42 +0000 (09:41 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 24 Aug 2020 11:08:24 +0000 (11:08 +0000)
commita6146aa5980f972a11ee054a49bba9dc79b8bbd4
tree3f899d0db0e5c21c6ae619a9d6059fcffd23df8b
parentbaa9268eb68500e66c3d151f7c97da354552fa91
aco: validate that SMEM operands can use fixed registers

To fix a validation error when loading the scalar tma buffer
descriptor because it's not a temp but a fixed reg (tma_lo/tma_hi).

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6384>
src/amd/compiler/aco_validate.cpp