aco: fix out-of-bounds access when moving s_mem(real)time across SMEM
authorRhys Perry <pendingchaos02@gmail.com>
Fri, 3 Feb 2023 17:27:52 +0000 (17:27 +0000)
committerMarge Bot <emma+marge@anholt.net>
Tue, 7 Feb 2023 14:50:43 +0000 (14:50 +0000)
commitfad1f716dd831fba4c380bce1cf76bffc11be6d6
tree9086e91dd1c0e3868c6d026b521d70547aea9b99
parent7d8e2db9f95747895b6cd137cb1db445b3a1a66f
aco: fix out-of-bounds access when moving s_mem(real)time across SMEM

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8224
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21138>
src/amd/compiler/aco_scheduler.cpp