Function Prototype
vkCmdSetDispatchParametersARM
Set parameters that affect dispatch commands
To set parameters that affect dispatch commands, call:
void vkCmdSetDispatchParametersARM(
VkCommandBuffer commandBuffer,
const VkDispatchParametersARM* pDispatchParameters);
pub fn cmd_set_dispatch_parameters_arm(
command_buffer: vk::CommandBuffer,
p_dispatch_parameters: *const vk::DispatchParametersARM,
);
commandBufferis the command buffer into which the command will be recorded.pDispatchParametersis a pointer to a VkDispatchParametersARM structure specifying the dispatch parameters to be set.
Parameters set using vkCmdSetDispatchParametersARM affect the
following dispatch commands:
Valid Usage
VUID-vkCmdSetDispatchParametersARM-schedulingControlsFlags-12391
VkPhysicalDeviceSchedulingControlsPropertiesARM::schedulingControlsFlagsmust contain
VK_PHYSICAL_DEVICE_SCHEDULING_CONTROLS_DISPATCH_PARAMETERS_ARM
Valid Usage (Implicit)
VUID-vkCmdSetDispatchParametersARM-commandBuffer-parameter
commandBuffer must be a valid VkCommandBuffer handle
VUID-vkCmdSetDispatchParametersARM-pDispatchParameters-parameter
pDispatchParameters must be a valid pointer to a valid VkDispatchParametersARM structure
VUID-vkCmdSetDispatchParametersARM-commandBuffer-recording
commandBuffer must be in the recording state
VUID-vkCmdSetDispatchParametersARM-commandBuffer-cmdpool
The VkCommandPool that commandBuffer was allocated from must support VK_QUEUE_COMPUTE_BIT operations
VUID-vkCmdSetDispatchParametersARM-renderpass
This command must only be called outside of a render pass instance
VUID-vkCmdSetDispatchParametersARM-videocoding
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
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Type
Function Prototype
Command Buffer Level
primarysecondary
Render Pass Scope
outside
Queue Types
VK_QUEUE_COMPUTE_BIT
Command Type
state