To update the current device mask of a command buffer, call:
// Provided by VK_VERSION_1_1 void vkCmdSetDeviceMask( VkCommandBuffer commandBuffer, uint32_t deviceMask);
or the equivalent command
// Provided by VK_KHR_device_group void vkCmdSetDeviceMaskKHR( VkCommandBuffer commandBuffer, uint32_t deviceMask);
commandBufferis command buffer whose current device mask is modified.
deviceMaskis the new value of the current device mask.
deviceMask is used to filter out subsequent commands from executing on
all physical devices whose bit indices are not set in the mask, except
commands beginning a render pass instance, commands transitioning to the
next subpass in the render pass instance, and commands ending a render pass
instance, which always execute on the set of physical devices whose bit
indices are included in the
deviceMask member of the
VkDeviceGroupRenderPassBeginInfo structure passed to the command
beginning the corresponding render pass instance.
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.