aco: allow GFX9 partial writes with instructions which use opsel
authorRhys Perry <pendingchaos02@gmail.com>
Thu, 11 Jun 2020 13:05:48 +0000 (14:05 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 15 Jun 2020 18:24:22 +0000 (18:24 +0000)
commite9578e303386c22940b62a88ea85cea794124537
tree0184d334c24b8ca70fd4bc19be404302901461dc
parent82de70d06e1b678aa2426ae647327ca2f418dc0e
aco: allow GFX9 partial writes with instructions which use opsel

Some instructions such as v_mad_f16 can do partial writes on GFX9.

No fossil-db changes.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5245>
src/amd/compiler/aco_register_allocation.cpp