From 5170a0af7cdaf65dc8e1d9f2eb12a91dd40c05ee Mon Sep 17 00:00:00 2001 From: Courtney Goeltzenleuchter Date: Wed, 16 Sep 2015 16:38:23 -0600 Subject: Bug 14318: Clarify image layout transitions in a RenderPass merge request 337. --- include/vulkan.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') diff --git a/include/vulkan.h b/include/vulkan.h index cd7bf257..01cbfec4 100644 --- a/include/vulkan.h +++ b/include/vulkan.h @@ -134,6 +134,7 @@ VK_DEFINE_NONDISP_HANDLE(VkCmdPool) #define VK_TRUE 1 #define VK_FALSE 0 #define VK_QUEUE_FAMILY_IGNORED (~0U) +#define VK_SUBPASS_EXTERNAL (~0U) #define VK_MAX_PHYSICAL_DEVICE_NAME 256 #define VK_UUID_LENGTH 16 #define VK_MAX_MEMORY_TYPES 32 @@ -1003,6 +1004,11 @@ typedef enum { } VkShaderStageFlagBits; typedef VkFlags VkShaderStageFlags; +typedef enum { + VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT = 0x00000001, +} VkAttachmentDescriptionFlagBits; +typedef VkFlags VkAttachmentDescriptionFlags; + typedef enum { VK_SUBPASS_DESCRIPTION_NO_OVERDRAW_BIT = 0x00000001, } VkSubpassDescriptionFlagBits; @@ -1898,6 +1904,7 @@ typedef struct { VkAttachmentStoreOp stencilStoreOp; VkImageLayout initialLayout; VkImageLayout finalLayout; + VkAttachmentDescriptionFlags flags; } VkAttachmentDescription; typedef struct { -- cgit v1.2.3