aco: implement <32-bit masked_swizzle_amd
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 2 Jul 2020 11:15:28 +0000 (12:15 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 13 Jul 2020 14:11:50 +0000 (14:11 +0000)
commita6a731bea5e835a49c0ff12b7d729ba761d3296f
tree74fd2c6e5346109b2b5962eb78b6ff411fcc17a2
parentd377fbf95d038583c24df95395600aec85e20318
aco: implement <32-bit masked_swizzle_amd

This is needed since we will be lowering some 8/16-bit shuffles to
masked_swizzle_amd.

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