To submit command buffers to a queue, call:
VkResult vkQueueSubmit( VkQueue queue, uint32_t submitCount, const VkSubmitInfo* pSubmits, VkFence fence);
queueis the queue that the command buffers will be submitted to.
submitCountis the number of elements in the
pSubmitsis a pointer to an array of
VkSubmitInfostructures, each specifying a command buffer submission batch.
Submission can be a high overhead operation, and applications should
attempt to batch work together into as few calls to
vkQueueSubmit is a queue submission command, with each batch defined by an element of
pSubmits as an
instance of the
Batches begin execution in the order they appear in
pSubmits, but may
complete out of order.
Fence and semaphore operations submitted with
additional ordering constraints compared to other submission commands, with
dependencies involving previous and subsequent queue operations.
Information about these additional constraints can be found in the
semaphore and fence sections of 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-2016 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.