From 4c95b574d193c974090964880f547f4f0af12b18 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 8 Jun 2022 18:31:01 -0500 Subject: [PATCH] turnip: Use the common QueuePresent implementation Reviewed-by: Bas Nieuwenhuizen Reviewed-by: Emma Anholt Part-of: --- src/freedreno/vulkan/tu_wsi.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/freedreno/vulkan/tu_wsi.c b/src/freedreno/vulkan/tu_wsi.c index 19a17093d1e..69a81a14112 100644 --- a/src/freedreno/vulkan/tu_wsi.c +++ b/src/freedreno/vulkan/tu_wsi.c @@ -76,14 +76,3 @@ tu_wsi_finish(struct tu_physical_device *physical_device) wsi_device_finish(&physical_device->wsi_device, &physical_device->instance->vk.alloc); } - -VKAPI_ATTR VkResult VKAPI_CALL -tu_QueuePresentKHR(VkQueue _queue, const VkPresentInfoKHR *pPresentInfo) -{ - TU_FROM_HANDLE(tu_queue, queue, _queue); - - return wsi_common_queue_present( - &queue->device->physical_device->wsi_device, - tu_device_to_handle(queue->device), _queue, queue->vk.queue_family_index, - pPresentInfo); -}