OSDN Git Service

aco: fix off-by-one error when initializing sgpr_live_in
authorRhys Perry <pendingchaos02@gmail.com>
Wed, 22 Jan 2020 11:51:31 +0000 (11:51 +0000)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 28 Jan 2020 16:54:25 +0000 (08:54 -0800)
commit08f16295340df191b9cc868baced2396bab13704
tree9d1e0465c3f14b5e22f375e7206bf061968b90e0
parentb967399ceab25911e9737262b0836c6908bcf1f0
aco: fix off-by-one error when initializing sgpr_live_in

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2394
Fixes: 93c8ebfa780 ('aco: Initial commit of independent AMD compiler')
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3511>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3511>
(cherry picked from commit 15a1cc00d38db084b41d7ae7907aa0b0c22f2099)
.pick_status.json
src/amd/compiler/aco_register_allocation.cpp