Package org.lwjgl.vulkan
Class EXTAttachmentFeedbackLoopDynamicState
java.lang.Object
org.lwjgl.vulkan.EXTAttachmentFeedbackLoopDynamicState
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_properties2or Version 1.1 andVK_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 Summary
FieldsModifier and TypeFieldDescriptionstatic final intExtendsVkDynamicState.static final StringThe extension name.static final intThe extension specification version.static final intExtendsVkStructureType. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidvkCmdSetAttachmentFeedbackLoopEnableEXT(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, int aspectMask) Specify whether attachment feedback loops are enabled dynamically on a command buffer.
-
Field Details
-
VK_EXT_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_SPEC_VERSION
public static final int VK_EXT_ATTACHMENT_FEEDBACK_LOOP_DYNAMIC_STATE_SPEC_VERSIONThe extension specification version.- See Also:
-
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_EXTExtendsVkStructureType.- See Also:
-
VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXT
public static final int VK_DYNAMIC_STATE_ATTACHMENT_FEEDBACK_LOOP_ENABLE_EXTExtendsVkDynamicState.- 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
aspectMaskcan be accessed as non-attachments by subsequent drawing commands.Valid Usage
- The
attachmentFeedbackLoopDynamicStatefeature must be enabled aspectMaskmust only includeIMAGE_ASPECT_NONE,IMAGE_ASPECT_COLOR_BIT,IMAGE_ASPECT_DEPTH_BIT, andIMAGE_ASPECT_STENCIL_BIT- If the
attachmentFeedbackLoopLayoutfeature is not enabled,aspectMaskmust beIMAGE_ASPECT_NONE
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandleaspectMaskmust be a valid combination ofVkImageAspectFlagBitsvaluescommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support graphics operations - This command must only be called outside of a video coding scope
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Video Coding Scope Supported Queue Types Command Type Primary Secondary Both Outside Graphics State - 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 inaspectMaskwill have feedback loops disabled.
- The
-