cmdSetAttachmentFeedbackLoopEnableEXT :: MonadIO io=> CommandBuffercommandBufferis the command buffer into which the command will be recorded.->"aspectMask"
::: ImageAspectFlagsaspectMaskspecifies the types of attachments for which feedback loops will be enabled. Attachment types whose aspects are not included inaspectMaskwill have feedback loops disabled.-> io ()
vkCmdSetAttachmentFeedbackLoopEnableEXT - Specify whether attachment feedback loops are enabled dynamically on a command buffer
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
The attachmentFeedbackLoopDynamicState feature must be enabled
aspectMaskmust only include IMAGE_ASPECT_NONE, IMAGE_ASPECT_COLOR_BIT, IMAGE_ASPECT_DEPTH_BIT, and IMAGE_ASPECT_STENCIL_BITIf the attachmentFeedbackLoopLayout feature is not enabled,
aspectMaskmust be IMAGE_ASPECT_NONE
Valid Usage (Implicit)
commandBuffermust be a valid CommandBuffer handle
aspectMaskmust be a valid combination of ImageAspectFlagBits valuescommandBuffermust be in the recording stateThe CommandPool that
commandBufferwas allocated from must support QUEUE_GRAPHICS_BIT operationsThis command must only be called outside of a video coding scope
Host Synchronization
Host access to
commandBuffermust be externally synchronized
Host access to the CommandPool that
commandBufferwas allocated from must be externally synchronized
Command Properties
'
Primary Secondary | Both | Outside | VK_QUEUE_GRAPHICS_BIT | State |
Conditional Rendering
vkCmdSetAttachmentFeedbackLoopEnableEXT is not affected by conditional rendering
See Also
VK_EXT_attachment_feedback_loop_dynamic_state, CommandBuffer, ImageAspectFlags