VkRenderingAttachmentFlagsInfoKHR(3)

Name

VkRenderingAttachmentFlagsInfoKHR - Structure specifying flags extending a rendering attachment

C Specification

To specify an attachment as an input attachment or to specify resolve operation flags, the VkRenderingAttachmentFlagsInfoKHR structure can be added to the pNext chain of VkRenderingAttachmentInfo.

The VkRenderingAttachmentFlagsInfoKHR structure is defined as:

// Provided by VK_KHR_maintenance10
typedef struct VkRenderingAttachmentFlagsInfoKHR {
    VkStructureType                  sType;
    const void*                      pNext;
    VkRenderingAttachmentFlagsKHR    flags;
} VkRenderingAttachmentFlagsInfoKHR;

Members

Description

Valid Usage
  • VUID-VkRenderingAttachmentFlagsInfoKHR-flags-11755
    flags must not include VK_RENDERING_ATTACHMENT_INPUT_ATTACHMENT_FEEDBACK_BIT_KHR if the dynamicRenderingLocalRead feature is not enabled

  • VUID-VkRenderingAttachmentFlagsInfoKHR-flags-11756
    If flags includes VK_RENDERING_ATTACHMENT_RESOLVE_SKIP_TRANSFER_FUNCTION_BIT_KHR, flags must not include VK_RENDERING_ATTACHMENT_RESOLVE_ENABLE_TRANSFER_FUNCTION_BIT_KHR

  • VUID-VkRenderingAttachmentFlagsInfoKHR-flags-11757
    If flags includes VK_RENDERING_ATTACHMENT_RESOLVE_SKIP_TRANSFER_FUNCTION_BIT_KHR or VK_RENDERING_ATTACHMENT_RESOLVE_ENABLE_TRANSFER_FUNCTION_BIT_KHR, resolveSrgbFormatSupportsTransferFunctionControl must be VK_TRUE

Valid Usage (Implicit)
  • VUID-VkRenderingAttachmentFlagsInfoKHR-sType-sType
    sType must be VK_STRUCTURE_TYPE_RENDERING_ATTACHMENT_FLAGS_INFO_KHR

  • VUID-VkRenderingAttachmentFlagsInfoKHR-flags-parameter
    flags must be a valid combination of VkRenderingAttachmentFlagBitsKHR values

Document Notes

For more information, see the Vulkan Specification.

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.