To record a dispatch, call:
void vkCmdDispatch( VkCommandBuffer commandBuffer, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ);
commandBufferis the command buffer into which the command will be recorded.
groupCountXis the number of local workgroups to dispatch in the X dimension.
groupCountYis the number of local workgroups to dispatch in the Y dimension.
groupCountZis the number of local workgroups to dispatch in the Z dimension.
When the command is executed, a global workgroup consisting of
local workgroups is assembled.
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.
Copyright (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.