To copy data between two memory regions by specifying copy parameters indirectly in a buffer, call:
// Provided by VK_NV_copy_memory_indirect void vkCmdCopyMemoryIndirectNV( VkCommandBuffer commandBuffer, VkDeviceAddress copyBufferAddress, uint32_t copyCount, uint32_t stride);
commandBufferis the command buffer into which the command will be recorded.
copyBufferAddressis the buffer address specifying the copy parameters. This buffer is laid out in memory as an array of VkCopyMemoryIndirectCommandNV structures.
copyCountis the number of copies to execute, and can be zero.
strideis the stride in bytes between successive sets of copy parameters.
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.
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.