aco: fix a hardware bug for MRTZ exports on GFX6
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 23 Jan 2020 16:51:09 +0000 (17:51 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Jan 2020 18:34:27 +0000 (18:34 +0000)
commitb9cc50fbce4c5aeab035d855c9368e24e2ed2d20
tree0ceb368a609c28f1f50a840ad9f53fc15802c94d
parentf55e215b8c7ebbd58635694f048b121bb1d1bc03
aco: fix a hardware bug for MRTZ exports on GFX6

GFX6 (except OLAND and HAINAN) has a bug that it only looks at
the X writemask component.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3533>
src/amd/compiler/aco_instruction_selection.cpp