aco: allow SDWA sels smaller than the operand size
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 19 Apr 2021 10:32:56 +0000 (11:32 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 21 Apr 2021 11:09:33 +0000 (11:09 +0000)
commit2d36232e62ae7daba7ab0ed23f890d6c0e4a35c3
treea69e906afdff9a465a33a6aac07f57a0227332ce
parent655ba1e3a9b2a1acbf56937c39a1bd25d48d0246
aco: allow SDWA sels smaller than the operand size

p_extract_vector copy-propagation can create byte sels for v2b operands.

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