ac/nir: use store_buffer_amd's base index
authorRhys Perry <pendingchaos02@gmail.com>
Tue, 13 Dec 2022 15:08:58 +0000 (15:08 +0000)
committerMarge Bot <emma+marge@anholt.net>
Mon, 16 Jan 2023 17:25:51 +0000 (17:25 +0000)
commitaa6b2ec46a79b1b6487a82e43bfcdf853b074b40
tree9a2d7257420ca3cbd7dae3ee195b34fdedd8cc74
parent39c214769b94da4fa349b140765e39262706d1bc
ac/nir: use store_buffer_amd's base index

This allows ACO to combine the addition into the store without checking
for wraparound.

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20296>
src/amd/common/ac_nir.c