Structures
VkInputAttachmentAspectReference
Structure specifying a subpass/input attachment pair and an aspect mask that can: be read.
The VkInputAttachmentAspectReference structure is defined as:
typedef struct VkInputAttachmentAspectReference {
uint32_t subpass;
uint32_t inputAttachmentIndex;
VkImageAspectFlags aspectMask;
} VkInputAttachmentAspectReference;
or the equivalent
typedef VkInputAttachmentAspectReference VkInputAttachmentAspectReferenceKHR;
subpassis an index into thepSubpassesarray of the parentVkRenderPassCreateInfostructure.inputAttachmentIndexis an index into thepInputAttachmentsof the specified subpass.aspectMaskis a mask of which aspect(s) can be accessed within the specified subpass.
This structure specifies an aspect mask for a specific input attachment of a specific subpass in the render pass.
subpass and inputAttachmentIndex index into the render pass as:
pCreateInfo->pSubpasses[subpass].pInputAttachments[inputAttachmentIndex]
Valid Usage
VUID-VkInputAttachmentAspectReference-aspectMask-01964
aspectMask must not include VK_IMAGE_ASPECT_METADATA_BIT
VUID-VkInputAttachmentAspectReference-aspectMask-02250
aspectMask must not include
VK_IMAGE_ASPECT_MEMORY_PLANEiBIT_EXT for any index i
Valid Usage (Implicit)
VUID-VkInputAttachmentAspectReference-aspectMask-parameter
aspectMask must be a valid combination of VkImageAspectFlagBits values
VUID-VkInputAttachmentAspectReference-aspectMask-requiredbitmask
aspectMask must not be 0