aco: Don't accept constants on p_bpermute.
authorTimur Kristóf <timur.kristof@gmail.com>
Tue, 13 Dec 2022 09:45:48 +0000 (10:45 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 14 Dec 2022 13:54:04 +0000 (13:54 +0000)
commit614348f28be16fb8a3763bd68064652160975411
treedc345042f7e73ba2909cd72fdb8731c268eb7bfd
parent27b70f28d97617d062f07448bc5e87d3cdb80e03
aco: Don't accept constants on p_bpermute.

The sequence emitted for this pseudo instruction is not ready
to handle constants or literals at all.

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