vk/0.130: Define enum VkImageAspectFlagBits
authorChad Versace <chad.versace@intel.com>
Tue, 7 Jul 2015 22:57:17 +0000 (15:57 -0700)
committerChad Versace <chad.versace@intel.com>
Tue, 7 Jul 2015 22:57:37 +0000 (15:57 -0700)
include/vulkan/vulkan.h

index 7f8856ad4bdcd1ad73e3f1657dff10ae97164a15..581e741138e8164353e0021dba6fe0fa0e056d6d 100644 (file)
@@ -1034,6 +1034,13 @@ typedef enum {
 } VkCmdBufferOptimizeFlagBits;
 typedef VkFlags VkCmdBufferOptimizeFlags;
 
+typedef enum {
+    VK_IMAGE_ASPECT_COLOR_BIT = 0x00000001,
+    VK_IMAGE_ASPECT_DEPTH_BIT = 0x00000002,
+    VK_IMAGE_ASPECT_STENCIL_BIT = 0x00000004,
+} VkImageAspectFlagBits;
+typedef VkFlags VkImageAspectFlags;
+
 typedef enum {
     VK_PIPE_EVENT_TOP_OF_PIPE_BIT = 0x00000001,
     VK_PIPE_EVENT_VERTEX_PROCESSING_COMPLETE_BIT = 0x00000002,