aco/ra: fix get_reg_for_operand() when the blocking var is a vector
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 23 Apr 2021 13:31:04 +0000 (14:31 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 17 May 2021 13:31:07 +0000 (13:31 +0000)
commitc08bfa110cce2c5d0c613490de02b13b1e4afb82
tree013b01324a6475466b44ea1bd3293d7e808a1dd1
parentbc95d55e1f4ce54ff086352d5e52dc733d85118d
aco/ra: fix get_reg_for_operand() when the blocking var is a vector

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/10459>
src/amd/compiler/aco_register_allocation.cpp
src/amd/compiler/tests/test_regalloc.cpp