Class EXTAttachmentFeedbackLoopDynamicState

java.lang.Object
org.lwjgl.vulkan.EXTAttachmentFeedbackLoopDynamicState

public class EXTAttachmentFeedbackLoopDynamicState extends Object
This extension adds support for setting attachment feedback loops dynamically on command buffers.
Name String
VK_EXT_attachment_feedback_loop_dynamic_state
Extension Type
Device extension
Registered Extension Number
525
Revision
1
Extension and Version Dependencies
VK_KHR_get_physical_device_properties2 or Version 1.1 and VK_EXT_attachment_feedback_loop_layout
Special Uses
Contact
  • Mike Blumenkrantz zmike
Extension Proposal
VK_EXT_attachment_feedback_loop_dynamic_state
Other Extension Metadata
Last Modified Date
2023-04-28
IP Status
No known IP claims.
Contributors
  • Mike Blumenkrantz, Valve
  • Daniel Story, Nintendo
  • Stu Smith, AMD
  • Samuel Pitoiset, Valve
  • Ricardo Garcia, Igalia
  • Field Details

    • VK_EXT_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_SPEC_VERSION

      public static final int VK_EXT_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_SPEC_VERSION
      The extension specification version.
      See Also:
    • VK_EXT_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_EXTENSION_NAME

      public static final String VK_EXT_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_EXTENSION_NAME
      The extension name.
      See Also:
    • VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_FEATURES_EXT

      public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_FEATURES_EXT
      Extends VkStructureType.
      See Also:
    • VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT

      public static final int VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
      Extends VkDynamicState.
      See Also:
  • Method Details

    • vkCmdSetAttachmentFeedbackLoopEnableEXT

      public static void vkCmdSetAttachmentFeedbackLoopEnableEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int aspectMask)
      Specify whether attachment feedback loops are enabled dynamically on a command buffer.
      C Specification

      To dynamically set whether a pipeline can access a resource as a non-attachment while it is also used as an attachment that is written to, call:

      
       void vkCmdSetAttachmentFeedbackLoopEnableEXT(
           VkCommandBuffer                             commandBuffer,
           VkImageAspectFlags                          aspectMask);
      Description

      For attachments that are written to in a render pass, only attachments with the aspects specified in aspectMask can be accessed as non-attachments by subsequent drawing commands.

      Valid Usage
      Valid Usage (Implicit)
      • commandBuffer must be a valid VkCommandBuffer handle
      • aspectMask must be a valid combination of VkImageAspectFlagBits values
      • commandBuffer must be in the recording state
      • The VkCommandPool that commandBuffer was allocated from must support graphics operations
      • This command must only be called outside of a video coding scope
      Host Synchronization
      • Host access to commandBuffer must be externally synchronized
      • Host access to the VkCommandPool that commandBuffer was allocated from must be externally synchronized
      Command Properties
      Command Buffer LevelsRender Pass ScopeVideo Coding ScopeSupported Queue TypesCommand Type
      Primary SecondaryBothOutsideGraphicsState
      Parameters:
      commandBuffer - the command buffer into which the command will be recorded.
      aspectMask - specifies the types of attachments for which feedback loops will be enabled. Attachment types whose aspects are not included in aspectMask will have feedback loops disabled.