radv: Fix compute scratch buffer emission.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 30 Oct 2022 22:29:53 +0000 (23:29 +0100)
committerEric Engestrom <eric@engestrom.ch>
Wed, 9 Nov 2022 21:22:05 +0000 (21:22 +0000)
commita6bf520407fa8a0bb81ddb5077808c2f0a26214b
treef6daf12caee35a23b45dbcac540d656127356de7
parentbf46cebc0c9c9f9250bf91e38c2e0d0eea1283da
radv: Fix compute scratch buffer emission.

Copied wrong from radeonsi. The registers following the scratch
buffer address are the shader rsrc1/rsrc2. Not the user SGPR0
containing the ring resource word 1.

Fixes: 278e533ec9c ("radv: update scratch buffer registers on GFX11")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19488>
(cherry picked from commit b8865ad04643cd7e8faa8a863d81fedbc1e29231)
.pick_status.json
src/amd/vulkan/radv_device.c