aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKristian H. Kristensen <[email protected]>2020-06-26 16:29:15 -0700
committerKristian H. Kristensen <[email protected]>2020-06-26 16:29:15 -0700
commit4fccbd0ea60280fd1e9cb0728ba828783fb20b2c (patch)
tree774a2506a10e38e48383522c5d89d6530485eec8 /src
parent39f06e28485d4c4f111e5347d0265c79b8fb396c (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/freedreno/vulkan/tu_device.c19
1 files changed, 19 insertions, 0 deletions
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
@@ -2484,6 +2484,25 @@ tu_GetMemoryFdPropertiesKHR(VkDevice _device,
}
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)
{