diff options
author | Jason Ekstrand <[email protected]> | 2015-11-30 18:15:41 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-12-03 13:43:52 -0800 |
commit | dde7172a8aa33faa1cec49d08c1ec024727da37c (patch) | |
tree | 820a72c87f37587d9c68ba55187a9eb1cbcb190d | |
parent | 4cf0b57bbfd5526e63c63d3a6fa6b4cadd128a98 (diff) |
vk/0.210.0: Trivial flag enum updates
-rw-r--r-- | include/vulkan/vulkan.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/include/vulkan/vulkan.h b/include/vulkan/vulkan.h index 921c3bca830..77eab396aea 100644 --- a/include/vulkan/vulkan.h +++ b/include/vulkan/vulkan.h @@ -867,10 +867,18 @@ typedef VkFlags VkDeviceCreateFlags; typedef VkFlags VkDeviceQueueCreateFlags; typedef VkFlags VkMemoryMapFlags; -typedef enum { - VK_SPARSE_IMAGE_FMT_SINGLE_MIPTAIL_BIT = 0x00000001, - VK_SPARSE_IMAGE_FMT_ALIGNED_MIP_SIZE_BIT = 0x00000002, - VK_SPARSE_IMAGE_FMT_NONSTD_BLOCK_SIZE_BIT = 0x00000004, +typedef enum VkImageAspectFlagBits { + VK_IMAGE_ASPECT_COLOR_BIT = 0x00000001, + VK_IMAGE_ASPECT_DEPTH_BIT = 0x00000002, + VK_IMAGE_ASPECT_STENCIL_BIT = 0x00000004, + VK_IMAGE_ASPECT_METADATA_BIT = 0x00000008, +} VkImageAspectFlagBits; +typedef VkFlags VkImageAspectFlags; + +typedef enum VkSparseImageFormatFlagBits { + VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT = 0x00000001, + VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT = 0x00000002, + VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT = 0x00000004, } VkSparseImageFormatFlagBits; typedef VkFlags VkSparseImageFormatFlags; @@ -933,14 +941,6 @@ typedef VkFlags VkBufferUsageFlags; typedef VkFlags VkBufferViewCreateFlags; typedef enum { - VK_IMAGE_ASPECT_COLOR_BIT = 0x00000001, - VK_IMAGE_ASPECT_DEPTH_BIT = 0x00000002, - VK_IMAGE_ASPECT_STENCIL_BIT = 0x00000004, - VK_IMAGE_ASPECT_METADATA_BIT = 0x00000008, -} VkImageAspectFlagBits; -typedef VkFlags VkImageAspectFlags; - -typedef enum { VK_IMAGE_VIEW_CREATE_READ_ONLY_DEPTH_BIT = 0x00000001, VK_IMAGE_VIEW_CREATE_READ_ONLY_STENCIL_BIT = 0x00000002, } VkImageViewCreateFlagBits; @@ -1078,10 +1078,11 @@ typedef enum VkCommandBufferResetFlagBits { } VkCommandBufferResetFlagBits; typedef VkFlags VkCommandBufferResetFlags; -typedef enum { +typedef enum VkStencilFaceFlagBits { VK_STENCIL_FACE_NONE = 0, VK_STENCIL_FACE_FRONT_BIT = 0x00000001, VK_STENCIL_FACE_BACK_BIT = 0x00000002, + VK_STENCIL_FRONT_AND_BACK = 0x3, } VkStencilFaceFlagBits; typedef VkFlags VkStencilFaceFlags; |