From: Chad Versace Date: Tue, 14 Jul 2015 16:31:34 +0000 (-0700) Subject: vk/0.132: Add vkDestroySemaphore() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=549070b18c301e6f80ce0964037778b6936564c0;p=mesa.git vk/0.132: Add vkDestroySemaphore() --- diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index 476c0523a91..07947d63aeb 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -2015,6 +2015,7 @@ typedef VkResult (VKAPI *PFN_vkResetFences)(VkDevice device, uint32_t fenceCount typedef VkResult (VKAPI *PFN_vkGetFenceStatus)(VkDevice device, VkFence fence); typedef VkResult (VKAPI *PFN_vkWaitForFences)(VkDevice device, uint32_t fenceCount, const VkFence* pFences, VkBool32 waitAll, uint64_t timeout); typedef VkResult (VKAPI *PFN_vkCreateSemaphore)(VkDevice device, const VkSemaphoreCreateInfo* pCreateInfo, VkSemaphore* pSemaphore); +typedef VkResult (VKAPI *PFN_vkDestroySemaphore)(VkDevice device, VkSemaphore semaphore); typedef VkResult (VKAPI *PFN_vkQueueSignalSemaphore)(VkQueue queue, VkSemaphore semaphore); typedef VkResult (VKAPI *PFN_vkQueueWaitSemaphore)(VkQueue queue, VkSemaphore semaphore); typedef VkResult (VKAPI *PFN_vkCreateEvent)(VkDevice device, const VkEventCreateInfo* pCreateInfo, VkEvent* pEvent); @@ -2287,6 +2288,10 @@ VkResult VKAPI vkCreateSemaphore( const VkSemaphoreCreateInfo* pCreateInfo, VkSemaphore* pSemaphore); +VkResult VKAPI vkDestroySemaphore( + VkDevice device, + VkSemaphore semaphore); + VkResult VKAPI vkQueueSignalSemaphore( VkQueue queue, VkSemaphore semaphore); diff --git a/src/vulkan/device.c b/src/vulkan/device.c index 14221127fc5..08d7e9f146c 100644 --- a/src/vulkan/device.c +++ b/src/vulkan/device.c @@ -1505,6 +1505,13 @@ VkResult anv_CreateSemaphore( stub_return(VK_UNSUPPORTED); } +VkResult anv_DestroySemaphore( + VkDevice device, + VkSemaphore semaphore) +{ + stub_return(VK_UNSUPPORTED); +} + VkResult anv_QueueSignalSemaphore( VkQueue queue, VkSemaphore semaphore)