aco: fix validation of sub-dword parallel-copies
authorRhys Perry <pendingchaos02@gmail.com>
Mon, 7 Sep 2020 19:45:25 +0000 (20:45 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 9 Sep 2020 15:00:45 +0000 (15:00 +0000)
commite394ff9b5f8da5a9579d0a96c371cec814caf10c
tree3c317541b4fc8183ed00a3343591fdb4886d651b
parent834b449a46716d64bd2cee99a029cdc48813cc9a
aco: fix validation of sub-dword parallel-copies

Only the operands with a sub-dword definition need to be checked.

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/6662>
src/amd/compiler/aco_validate.cpp