To submit sparse binding operations to a queue, call:
VkResult vkQueueBindSparse( VkQueue queue, uint32_t bindInfoCount, const VkBindSparseInfo* pBindInfo, VkFence fence);
queueis the queue that the sparse binding operations will be submitted to.
bindInfoCountis the number of elements in the
pBindInfois an array of VkBindSparseInfo structures, each specifying a sparse binding submission batch.
vkQueueBindSparse is a queue submission
command, with each batch defined by an element of
pBindInfo as an
instance of the VkBindSparseInfo structure.
Batches begin execution in the order they appear in
may complete out of order.
Within a batch, a given range of a resource must not be bound more than once. Across batches, if a range is to be bound to one allocation and offset and then to another allocation and offset, then the application must guarantee (usually using semaphores) that the binding operations are executed in the correct order, as well as to order binding operations against the execution of command buffer submissions.
As no operation to vkQueueBindSparse causes any pipeline stage to access memory, synchronization primitives used in this command effectively only define execution dependencies.
Additional information about fence and semaphore operation is described in the synchronization chapter.
For more information, see the Vulkan Specification at URL
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.
Copyright (c) 2014-2018 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.