aco: fix gfx10_wave64_bpermute
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 3 Feb 2020 17:54:07 +0000 (17:54 +0000)
committerMarge Bot <eric+marge@anholt.net>
Thu, 6 Feb 2020 16:43:03 +0000 (16:43 +0000)
commit20eb1acb6f404ffa4e502e7de8dec8ac83e7a8a8
tree154b81e46696543af8bc5e1214cb945d6b10b329
parent1c79afd94620925cb9e0903f24f91c3ab9ecfcb4
aco: fix gfx10_wave64_bpermute

Since 9254fb4fc72, the pass replaced the SCC clobber with the scalar
identity temporary. Just skip most of the temporary setup, since we don't
need it for gfx10_wave64_bpermute.

Although shuffles are disabled on GFX10, Detroit: Become Human seems to
use them anyway.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-By: Timur Kristóf <timur.kristof@gmail.com>
Fixes: 9254fb4fc72ed289ffded28ef067b4582973e90c ('aco: don't use a scalar
       temporary for reductions on GFX10')

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3683>
src/amd/compiler/aco_reduce_assign.cpp