vk/0.132: Add vkDestroySemaphore()

This commit is contained in:
Chad Versace
2015-07-14 09:31:34 -07:00
parent ebb191f145
commit 549070b18c
2 changed files with 12 additions and 0 deletions

View File

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

View File

@@ -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)