aco: use DPP instead of exec modification when lowering GFX10 shuffles
authorRhys Perry <pendingchaos02@gmail.com>
Tue, 12 Nov 2019 15:00:48 +0000 (15:00 +0000)
committerRhys Perry <pendingchaos02@gmail.com>
Tue, 12 Nov 2019 17:21:38 +0000 (17:21 +0000)
commit3204e837682dc130e33d4339f5a1d81899f09bf1
treef4c361f2702621fd31e82efdfd4504644eed31b2
parent06347989a0e9490955bfe59c5e0011d59387c088
aco: use DPP instead of exec modification when lowering GFX10 shuffles

Seems we can use DPP's row_mask field to get an effect similar to
modifying exec.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
src/amd/compiler/aco_lower_to_hw_instr.cpp