cmdSetDispatchParametersARM :: MonadIO io=> CommandBuffercommandBufferis the command buffer into which the command will be recorded.-> DispatchParametersARMpDispatchParametersis a pointer to a DispatchParametersARM structure specifying the dispatch parameters to be set.-> io ()
vkCmdSetDispatchParametersARM - Set parameters that affect dispatch commands
Description
Parameters set using cmdSetDispatchParametersARM affect the following dispatch commands:
Valid Usage
PhysicalDeviceSchedulingControlsPropertiesARM::
schedulingControlsFlagsmust contain PHYSICAL_DEVICE_SCHEDULING_CONTROLS_DISPATCH_PARAMETERS_ARM
Valid Usage (Implicit)
commandBuffermust be a valid CommandBuffer handle
pDispatchParametersmust be a valid pointer to a valid DispatchParametersARM structurecommandBuffermust be in the recording stateThe CommandPool that
commandBufferwas allocated from must support QUEUE_COMPUTE_BIT operationsThis command must only be called outside of a render pass instance
This command must only be called outside of a video coding scope
Host Synchronization
Host access to
commandBuffermust be externally synchronized
Host access to the CommandPool that
commandBufferwas allocated from must be externally synchronized
Command Properties
'
Primary Secondary | Outside | Outside | VK_QUEUE_COMPUTE_BIT | State |
Conditional Rendering
vkCmdSetDispatchParametersARM is not affected by conditional rendering
See Also
VK_ARM_scheduling_controls, CommandBuffer, DispatchParametersARM