aco: Workarounds subdword lowering on GFX6/7
authorDaniel Schürmann <daniel@schuermann.dev>
Sat, 16 May 2020 16:30:21 +0000 (17:30 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 9 Jun 2020 21:25:38 +0000 (21:25 +0000)
commitb083581010d29b2604ad34e0dd7ff6dae4417dd2
treee8f1b6a9e4e9d3f991010990c433ab2f16e2cf88
parent942e3c40c30301cc47303bc879fe3b4cca3c8bfd
aco: Workarounds subdword lowering on GFX6/7

As there are no SDWA instructions, we need to take care not to overwrite
the upper bits of other copy_operation's operands.

Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5226>
src/amd/compiler/aco_lower_to_hw_instr.cpp