vk/0.132: Move VKImageUsageFlags
authorChad Versace <chad.versace@intel.com>
Mon, 13 Jul 2015 19:48:44 +0000 (12:48 -0700)
committerChad Versace <chad.versace@intel.com>
Mon, 13 Jul 2015 19:48:44 +0000 (12:48 -0700)
include/vulkan/vulkan.h

index ccf6257dcabd7af3123315ac275e524929186482..e7b9659bb7218d890e2f5571693211d29936d09a 100644 (file)
@@ -899,6 +899,18 @@ typedef enum {
 } VkFormatFeatureFlagBits;
 typedef VkFlags VkFormatFeatureFlags;
 
+typedef enum {
+    VK_IMAGE_USAGE_GENERAL = 0,
+    VK_IMAGE_USAGE_TRANSFER_SOURCE_BIT = 0x00000001,
+    VK_IMAGE_USAGE_TRANSFER_DESTINATION_BIT = 0x00000002,
+    VK_IMAGE_USAGE_SAMPLED_BIT = 0x00000004,
+    VK_IMAGE_USAGE_STORAGE_BIT = 0x00000008,
+    VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT = 0x00000010,
+    VK_IMAGE_USAGE_DEPTH_STENCIL_BIT = 0x00000020,
+    VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT = 0x00000040,
+} VkImageUsageFlagBits;
+typedef VkFlags VkImageUsageFlags;
+
 typedef enum {
     VK_QUEUE_GRAPHICS_BIT = 0x00000001,
     VK_QUEUE_COMPUTE_BIT = 0x00000002,
@@ -978,18 +990,6 @@ typedef enum {
 } VkBufferCreateFlagBits;
 typedef VkFlags VkBufferCreateFlags;
 
-typedef enum {
-    VK_IMAGE_USAGE_GENERAL = 0,
-    VK_IMAGE_USAGE_TRANSFER_SOURCE_BIT = 0x00000001,
-    VK_IMAGE_USAGE_TRANSFER_DESTINATION_BIT = 0x00000002,
-    VK_IMAGE_USAGE_SAMPLED_BIT = 0x00000004,
-    VK_IMAGE_USAGE_STORAGE_BIT = 0x00000008,
-    VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT = 0x00000010,
-    VK_IMAGE_USAGE_DEPTH_STENCIL_BIT = 0x00000020,
-    VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT = 0x00000040,
-} VkImageUsageFlagBits;
-typedef VkFlags VkImageUsageFlags;
-
 typedef enum {
     VK_IMAGE_CREATE_INVARIANT_DATA_BIT = 0x00000001,
     VK_IMAGE_CREATE_SPARSE_BIT = 0x00000002,