VKDISPATCHINDIRECTCO(3)

NAME
VkDispatchIndirectCommand - Structure specifying a dispatch indirect command

C SPECIFICATION

The VkDispatchIndirectCommand structure is defined as:

    typedef struct VkDispatchIndirectCommand {
        uint32_t    x;
        uint32_t    y;
        uint32_t    z;
    } VkDispatchIndirectCommand;

MEMBERS

    • x is the number of local workgroups to dispatch in the X dimension.

    • y is the number of local workgroups to dispatch in the Y dimension.

    • z is the number of local workgroups to dispatch in the Z dimension.

DESCRIPTION

The members of VkDispatchIndirectCommand structure have the same meaning as the similarly named parameters of vkCmdDispatch.

VALID USAGE

    • x must be less than or equal to VkPhysicalDeviceLimits::maxComputeWorkGroupCount[0]

    • y must be less than or equal to VkPhysicalDeviceLimits::maxComputeWorkGroupCount[1]

    • z must be less than or equal to VkPhysicalDeviceLimits::maxComputeWorkGroupCount[2]

SEE ALSO

vkCmdDispatchIndirect

DOCUMENT NOTES

For more information, see the Vulkan Specification at URL

https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkDispatchIndirectCommand

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification,not directly.

COPYRIGHT

Copyright (c) 2014-2016 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.

AUTHOR

Khronos Group
    Author.