radv: Delete lots of sync code.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 28 Nov 2021 18:38:08 +0000 (19:38 +0100)
committerMarge Bot <emma+marge@anholt.net>
Fri, 31 Dec 2021 15:14:19 +0000 (15:14 +0000)
commit91fe0b5629d263b81950493d3176ecfe7aa29004
tree8d47c323c68dbb3d9735c9a12ad88f29106877d4
parent967fc415fc4ff3a7a556dbc4d9a851ec1b8ff2de
radv: Delete lots of sync code.

This make things all fall back to the common synchronization functions
which will switch things to the new submission path and to use
vk_fence and vk_semaphore.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
radv: Use common AcquireNextImage2KHR.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
radv: Use common functions for Metro Exodus layer.

Needs to be squashed with the big "switch the world" deletion patch
but kept it separate for review.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13974>
src/amd/vulkan/layers/radv_metro_exodus.c
src/amd/vulkan/radv_android.c
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/radv_radeon_winsys.h
src/amd/vulkan/radv_wsi.c
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c