vk/0.132: Add vkDestroyEvent()
authorChad Versace <chad.versace@intel.com>
Tue, 14 Jul 2015 16:33:47 +0000 (09:33 -0700)
committerChad Versace <chad.versace@intel.com>
Tue, 14 Jul 2015 16:33:47 +0000 (09:33 -0700)
include/vulkan/vulkan.h
src/vulkan/device.c

index 07947d63aeb51f878f3f8cbb9bd1493f21c268fd..72d20dbeb52b6ab4182973e4cd1ecee572f2b098 100644 (file)
@@ -2019,6 +2019,7 @@ typedef VkResult (VKAPI *PFN_vkDestroySemaphore)(VkDevice device, VkSemaphore se
 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);
+typedef VkResult (VKAPI *PFN_vkDestroyEvent)(VkDevice device, VkEvent event);
 typedef VkResult (VKAPI *PFN_vkGetEventStatus)(VkDevice device, VkEvent event);
 typedef VkResult (VKAPI *PFN_vkSetEvent)(VkDevice device, VkEvent event);
 typedef VkResult (VKAPI *PFN_vkResetEvent)(VkDevice device, VkEvent event);
@@ -2305,6 +2306,10 @@ VkResult VKAPI vkCreateEvent(
     const VkEventCreateInfo*                    pCreateInfo,
     VkEvent*                                    pEvent);
 
+VkResult VKAPI vkDestroyEvent(
+    VkDevice                                    device,
+    VkEvent                                     event);
+
 VkResult VKAPI vkGetEventStatus(
     VkDevice                                    device,
     VkEvent                                     event);
index 08d7e9f146c3b02dd9ca813723526ec4d47c826c..133ffda39265646b5c68b80f4c2fe04af93e79a8 100644 (file)
@@ -1536,6 +1536,13 @@ VkResult anv_CreateEvent(
    stub_return(VK_UNSUPPORTED);
 }
 
+VkResult anv_DestroyEvent(
+    VkDevice                                    device,
+    VkEvent                                     event)
+{
+   stub_return(VK_UNSUPPORTED);
+}
+
 VkResult anv_GetEventStatus(
     VkDevice                                    device,
     VkEvent                                     event)