aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2015-10-27 19:55:05 +0800
committerCourtney Goeltzenleuchter <courtney@LunarG.com>2015-11-02 15:04:09 -0700
commita014143f876c5ac5c5c7a1cea56f7cacaf3a5cb7 (patch)
tree217fdabc95a40eb0f317a61edb5c88f952549863 /include
parent1957462626e129223f66949634f4f4a707ec4401 (diff)
downloadusermoji-a014143f876c5ac5c5c7a1cea56f7cacaf3a5cb7.tar.xz
bug 15000: aspect/aspectMask inconsistencies (WIP)
Rename all aspect to aspectMask. https://cvs.khronos.org/bugzilla/show_bug.cgi?id=15000
Diffstat (limited to 'include')
-rw-r--r--include/vulkan.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vulkan.h b/include/vulkan.h
index efedb8cf..a819d9b4 100644
--- a/include/vulkan.h
+++ b/include/vulkan.h
@@ -832,6 +832,7 @@ typedef enum {
VK_IMAGE_ASPECT_STENCIL_BIT = 0x00000004,
VK_IMAGE_ASPECT_METADATA_BIT = 0x00000008,
} VkImageAspectFlagBits;
+typedef VkFlags VkImageAspectFlags;
typedef enum {
VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT = 0x00000001,
@@ -894,7 +895,6 @@ typedef enum {
typedef VkFlags VkBufferUsageFlags;
typedef VkFlags VkBufferViewCreateFlags;
typedef VkFlags VkImageViewCreateFlags;
-typedef VkFlags VkImageAspectFlags;
typedef VkFlags VkShaderModuleCreateFlags;
typedef VkFlags VkShaderCreateFlags;
@@ -1393,7 +1393,7 @@ typedef struct {
} VkMemoryRequirements;
typedef struct {
- VkImageAspectFlagBits aspect;
+ VkImageAspectFlags aspectMask;
VkExtent3D imageGranularity;
VkSparseImageFormatFlags flags;
} VkSparseImageFormatProperties;
@@ -1427,7 +1427,7 @@ typedef struct {
} VkSparseImageOpaqueMemoryBindInfo;
typedef struct {
- VkImageAspectFlagBits aspect;
+ VkImageAspectFlags aspectMask;
uint32_t mipLevel;
uint32_t arrayLayer;
} VkImageSubresource;