Bug 14318: Clarify image layout transitions in a RenderPass
authorCourtney Goeltzenleuchter <courtney@LunarG.com>
Wed, 16 Sep 2015 22:38:23 +0000 (16:38 -0600)
committerCourtney Goeltzenleuchter <courtney@LunarG.com>
Thu, 17 Sep 2015 21:32:11 +0000 (15:32 -0600)
merge request 337.

include/vulkan.h

index cd7bf257a2c05f009a508e04fb653a5128b40615..01cbfec4fc8308269ab4ddfc22565f017ff004fc 100644 (file)
@@ -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 {