Mesa (master): turnip: Put VK_KHR_external_fence_fd stubs back

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Jun 27 00:06:07 UTC 2020


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

Author: Kristian H. Kristensen <hoegsberg at google.com>
Date:   Fri Jun 26 16:29:15 2020 -0700

turnip: Put VK_KHR_external_fence_fd stubs back

tu_ImportFenceFdKHR is used by tu_AcquireImageANDROID, which may or
may not work, but let's at least keep things compiling until somebody
has time to tie up the loose ends on the Android side.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5670>

---

 src/freedreno/vulkan/tu_device.c | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c
index 57905740eef..a328f1164cd 100644
--- a/src/freedreno/vulkan/tu_device.c
+++ b/src/freedreno/vulkan/tu_device.c
@@ -2483,6 +2483,25 @@ tu_GetMemoryFdPropertiesKHR(VkDevice _device,
    return VK_SUCCESS;
 }
 
+VkResult
+tu_ImportFenceFdKHR(VkDevice _device,
+                    const VkImportFenceFdInfoKHR *pImportFenceFdInfo)
+{
+   tu_stub();
+
+   return VK_SUCCESS;
+}
+
+VkResult
+tu_GetFenceFdKHR(VkDevice _device,
+                 const VkFenceGetFdInfoKHR *pGetFdInfo,
+                 int *pFd)
+{
+   tu_stub();
+
+   return VK_SUCCESS;
+}
+
 VkResult
 tu_ImportSemaphoreFdKHR(VkDevice _device,
                         const VkImportSemaphoreFdInfoKHR *pImportSemaphoreFdInfo)



More information about the mesa-commit mailing list