Mesa (main): turnip: Use the common QueuePresent implementation

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jun 10 02:14:01 UTC 2022


Module: Mesa
Branch: main
Commit: 4c95b574d193c974090964880f547f4f0af12b18
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4c95b574d193c974090964880f547f4f0af12b18

Author: Jason Ekstrand <jason.ekstrand at collabora.com>
Date:   Wed Jun  8 18:31:01 2022 -0500

turnip: Use the common QueuePresent implementation

Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Reviewed-by: Emma Anholt <emma at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4037>

---

 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);
-}



More information about the mesa-commit mailing list