radv: Refactor WRITE_DATA helper function.
authorTimur Kristóf <timur.kristof@gmail.com>
Wed, 18 Oct 2023 12:29:55 +0000 (14:29 +0200)
committerMarge Bot <emma+marge@anholt.net>
Thu, 19 Oct 2023 14:35:00 +0000 (14:35 +0000)
commit107473162e328aae754cd718340933693c839094
treed9f8f9c3ab0fe5fb278b478dc9b35b809e20815c
parent1b988af0adbfcf84969c64d39a854be917f82c8d
radv: Refactor WRITE_DATA helper function.

Create a version of this function that takes a CS and queue family.
move it to radv_cs.h so it can be called from multiple other files.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25770>
src/amd/vulkan/radv_cmd_buffer.c
src/amd/vulkan/radv_cs.h
src/amd/vulkan/radv_private.h
src/amd/vulkan/radv_query.c
src/amd/vulkan/si_cmd_buffer.c