radv: Create continue preamble on GFX6 even when no shader rings are used.
authorTimur Kristóf <timur.kristof@gmail.com>
Mon, 3 Apr 2023 15:47:10 +0000 (17:47 +0200)
committerMarge Bot <emma+marge@anholt.net>
Tue, 11 Apr 2023 17:05:02 +0000 (17:05 +0000)
commit87d22933aedd461ec07464236493fd88e52503d0
tree09ead46319daaaf0896491555601aee2285ae8c5
parent0bba139767916a9027a46800907204f138989681
radv: Create continue preamble on GFX6 even when no shader rings are used.

Skipping the continue preamble can allow other processes to mess
up some registers set by the current process.

Originally, we could omit generating the continue preamble when
no shader rings were used, because the register initialization
happened at the beginning of every main cmdbuf. However, this
isn't the case anymore.

Cc: mesa-stable
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22354>
src/amd/vulkan/radv_queue.c