Structures

# VkDispatchIndirectCommand

Structure specifying an indirect dispatching command

The `VkDispatchIndirectCommand`

structure is defined as:

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

`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.

The members of `VkDispatchIndirectCommand`

have the same meaning as the
corresponding parameters of vkCmdDispatch.

### Valid Usage

#### VUID-VkDispatchIndirectCommand-x-00417

`x`

must be less than or equal to
`VkPhysicalDeviceLimits`

::`maxComputeWorkGroupCount`

[0]

#### VUID-VkDispatchIndirectCommand-y-00418

`y`

must be less than or equal to
`VkPhysicalDeviceLimits`

::`maxComputeWorkGroupCount`

[1]

#### VUID-VkDispatchIndirectCommand-z-00419

`z`

must be less than or equal to
`VkPhysicalDeviceLimits`

::`maxComputeWorkGroupCount`

[2]