From: Kristian H. Kristensen Date: Fri, 26 Jun 2020 23:29:15 +0000 (-0700) Subject: turnip: Put VK_KHR_external_fence_fd stubs back X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4fccbd0ea60280fd1e9cb0728ba828783fb20b2c;p=mesa.git 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: --- 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)