cmdCopyMemoryIndirectNV :: MonadIO io=> CommandBuffercommandBufferis the command buffer into which the command will be recorded.->"copyBufferAddress"
::: DeviceAddresscopyBufferAddressis the memory address specifying the copy parameters. It is laid out as an array of CopyMemoryIndirectCommandNV structures.->"copyCount"
::: Word32copyCountis the number of copies to execute, and can be zero.->"stride"
::: Word32strideis the stride in bytes between successive sets of copy parameters.-> io ()
vkCmdCopyMemoryIndirectNV - Copy data between memory regions
Description
Each region read from copyBufferAddress is copied from the source
region to the specified destination region. The results are undefined if
any of the source and destination regions overlap in memory.
Valid Usage
The indirectCopy feature must be enabled
copyBufferAddressmust be 4 byte alignedstridemust be a multiple of4and must be greater than or equal to sizeof(CopyMemoryIndirectCommandNV)The CommandPool that
commandBufferwas allocated from must support at least one of the queue types specified in PhysicalDeviceCopyMemoryIndirectPropertiesKHR::supportedQueuesAny of the source or destination memory regions specified in
copyBufferAddressmust not overlap with any of the specified destination memory regions
Valid Usage (Implicit)
commandBuffermust be a valid CommandBuffer handle
copyBufferAddressmust be a valid DeviceAddress valuecommandBuffermust be in the recording stateThe CommandPool that
commandBufferwas allocated from must support QUEUE_COMPUTE_BIT, QUEUE_GRAPHICS_BIT, or QUEUE_TRANSFER_BIT operationsThis command must only be called outside of a render pass instance
This command must not be called between suspended render pass instances
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 CommandPool that
commandBufferwas allocated from must be externally synchronized
Command Properties
'
Primary Secondary | Outside | Outside | VK_QUEUE_COMPUTE_BIT VK_QUEUE_GRAPHICS_BIT VK_QUEUE_TRANSFER_BIT | Action |
Conditional Rendering
vkCmdCopyMemoryIndirectNV is not affected by conditional rendering