vk/0.132: Move VkCmdBufferOptimizeFlags
authorChad Versace <chad.versace@intel.com>
Mon, 13 Jul 2015 20:08:07 +0000 (13:08 -0700)
committerChad Versace <chad.versace@intel.com>
Mon, 13 Jul 2015 20:08:07 +0000 (13:08 -0700)
include/vulkan/vulkan.h

index 3ae35857505e94b2e4dc306bb7e4413915075048..748f572eb2db7e93ee738e097352685265a05639 100644 (file)
@@ -1031,15 +1031,6 @@ typedef enum {
 } VkShaderStageFlagBits;
 typedef VkFlags VkShaderStageFlags;
 
-typedef enum {
-    VK_CMD_BUFFER_OPTIMIZE_SMALL_BATCH_BIT = 0x00000001,
-    VK_CMD_BUFFER_OPTIMIZE_PIPELINE_SWITCH_BIT = 0x00000002,
-    VK_CMD_BUFFER_OPTIMIZE_ONE_TIME_SUBMIT_BIT = 0x00000004,
-    VK_CMD_BUFFER_OPTIMIZE_DESCRIPTOR_SET_SWITCH_BIT = 0x00000008,
-    VK_CMD_BUFFER_OPTIMIZE_NO_SIMULTANEOUS_USE_BIT = 0x00000010,
-} VkCmdBufferOptimizeFlagBits;
-typedef VkFlags VkCmdBufferOptimizeFlags;
-
 typedef enum {
     VK_IMAGE_ASPECT_COLOR_BIT = 0x00000001,
     VK_IMAGE_ASPECT_DEPTH_BIT = 0x00000002,
@@ -1088,6 +1079,14 @@ typedef enum {
 typedef VkFlags VkMemoryInputFlags;
 typedef VkFlags VkCmdBufferCreateFlags;
 
+typedef enum {
+    VK_CMD_BUFFER_OPTIMIZE_SMALL_BATCH_BIT = 0x00000001,
+    VK_CMD_BUFFER_OPTIMIZE_PIPELINE_SWITCH_BIT = 0x00000002,
+    VK_CMD_BUFFER_OPTIMIZE_ONE_TIME_SUBMIT_BIT = 0x00000004,
+    VK_CMD_BUFFER_OPTIMIZE_DESCRIPTOR_SET_SWITCH_BIT = 0x00000008,
+    VK_CMD_BUFFER_OPTIMIZE_NO_SIMULTANEOUS_USE_BIT = 0x00000010,
+} VkCmdBufferOptimizeFlagBits;
+typedef VkFlags VkCmdBufferOptimizeFlags;
 typedef struct {
     VkStructureType                             sType;
     const void*                                 pNext;