aco: disallow SGPRs on DPP instructions
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 17 May 2021 13:37:54 +0000 (14:37 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 19 May 2021 14:25:37 +0000 (14:25 +0000)
commit3013670dfda17565e689f402c5fc14806b3361ae
tree730fbac6972b5cdf95c094533699617230153f4d
parent4191eb291bf7b0c7b79013642f2c573ad9361899
aco: disallow SGPRs on DPP instructions

They can't be encoded.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10841>
src/amd/compiler/aco_optimizer.cpp
src/amd/compiler/aco_validate.cpp