aco: swap v_perm_b32 operands
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 21 Oct 2022 12:01:01 +0000 (13:01 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 24 Oct 2022 10:52:56 +0000 (10:52 +0000)
commitf32dde29028a529c42431c387edade0886239aad
tree03cffc5dc1b3dc4b8bc525f9ffd17bbb803a1218
parent514a9b3b75cfaa3e77e350b618c18f0707044c79
aco: swap v_perm_b32 operands

I misread the ISA doc and got the order wrong.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Fixes: dae1629778d ("aco: disable sdwa on gfx11")
Fixes: e68e6c75ca1 ("aco: use v_perm_b32 to copy 0xff00/0x00ff/0xff/0x00")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19223>
src/amd/compiler/aco_lower_to_hw_instr.cpp
src/amd/compiler/tests/test_to_hw_instr.cpp