VkRenderingAttachmentFlagsInfoKHR(3)

# VkRenderingAttachmentFlagsInfoKHR(3) Manual Page

## 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

- `sType` is a VkStructureType value identifying this structure.

- `pNext` is `NULL` or a pointer to a structure extending this structure.

- `flags` is a bitmask of VkRenderingAttachmentFlagsKHR

## 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

Structure Chaining

Extends the structure

  - VkRenderingAttachmentInfo

## See Also

VK_KHR_maintenance10, VkRenderingAttachmentFlagsKHR, VkStructureType

## 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.

## Copyright

Copyright 2014-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0