vk/vulkan.h: Import the VkPipeEvent enum from 130
authorJason Ekstrand <jason.ekstrand@intel.com>
Wed, 8 Jul 2015 17:49:43 +0000 (10:49 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 8 Jul 2015 17:49:46 +0000 (10:49 -0700)
Now, VkPipeEventFlags is back in sync with VkPipeEvent

include/vulkan/vulkan.h

index 6108626fed10294fb6861b90e518329fdc2f621c..8d4c6a15250150964486d7750d41fb2cf2706e4a 100644 (file)
@@ -848,17 +848,18 @@ typedef enum {
 } VkIndexType;
 
 typedef enum {
-    VK_PIPE_EVENT_TOP_OF_PIPE = 1,
-    VK_PIPE_EVENT_VERTEX_PROCESSING_COMPLETE = 2,
-    VK_PIPE_EVENT_LOCAL_FRAGMENT_PROCESSING_COMPLETE = 3,
-    VK_PIPE_EVENT_FRAGMENT_PROCESSING_COMPLETE = 4,
-    VK_PIPE_EVENT_GRAPHICS_PIPELINE_COMPLETE = 5,
-    VK_PIPE_EVENT_COMPUTE_PIPELINE_COMPLETE = 6,
-    VK_PIPE_EVENT_TRANSFER_COMPLETE = 7,
-    VK_PIPE_EVENT_COMMANDS_COMPLETE = 8,
+    VK_PIPE_EVENT_TOP_OF_PIPE = 0,
+    VK_PIPE_EVENT_VERTEX_PROCESSING_COMPLETE = 1,
+    VK_PIPE_EVENT_LOCAL_FRAGMENT_PROCESSING_COMPLETE = 2,
+    VK_PIPE_EVENT_FRAGMENT_PROCESSING_COMPLETE = 3,
+    VK_PIPE_EVENT_GRAPHICS_PIPELINE_COMPLETE = 4,
+    VK_PIPE_EVENT_COMPUTE_PIPELINE_COMPLETE = 5,
+    VK_PIPE_EVENT_TRANSFER_COMPLETE = 6,
+    VK_PIPE_EVENT_COMMANDS_COMPLETE = 7,
+    VK_PIPE_EVENT_CPU_SIGNAL = 8,
     VK_PIPE_EVENT_BEGIN_RANGE = VK_PIPE_EVENT_TOP_OF_PIPE,
-    VK_PIPE_EVENT_END_RANGE = VK_PIPE_EVENT_COMMANDS_COMPLETE,
-    VK_PIPE_EVENT_NUM = (VK_PIPE_EVENT_COMMANDS_COMPLETE - VK_PIPE_EVENT_TOP_OF_PIPE + 1),
+    VK_PIPE_EVENT_END_RANGE = VK_PIPE_EVENT_CPU_SIGNAL,
+    VK_PIPE_EVENT_NUM = (VK_PIPE_EVENT_CPU_SIGNAL - VK_PIPE_EVENT_TOP_OF_PIPE + 1),
     VK_PIPE_EVENT_MAX_ENUM = 0x7FFFFFFF
 } VkPipeEvent;