Structures

VkDrawMeshTasksIndirectCommandNV

Structure specifying a mesh tasks draw indirect command

The VkDrawMeshTasksIndirectCommandNV structure is defined as:

typedef struct VkDrawMeshTasksIndirectCommandNV {
    uint32_t taskCount;
    uint32_t firstTask;
} VkDrawMeshTasksIndirectCommandNV;
  • taskCount is the number of local workgroups to dispatch in the X dimension. Y and Z dimension are implicitly set to one.
  • firstTask is the X component of the first workgroup ID.

The members of VkDrawMeshTasksIndirectCommandNV have the same meaning as the similarly named parameters of vkCmdDrawMeshTasksNV.

Valid Usage

VUID-VkDrawMeshTasksIndirectCommandNV-taskCount-02175

taskCount must be less than or equal to VkPhysicalDeviceMeshShaderPropertiesNV::maxDrawMeshTasksCount