Function Prototype
vkCmdCopyGpaSessionResultsAMD
Copying GPA session results
To copy the results of a GPA session into another, call:
void vkCmdCopyGpaSessionResultsAMD(
VkCommandBuffer commandBuffer,
VkGpaSessionAMD gpaSession);
pub fn cmd_copy_gpa_session_results_amd(
command_buffer: vk::CommandBuffer,
gpa_session: vk::GpaSessionAMD,
);
commandBufferis the command buffer into which the command will be recorded.gpaSessionis the handle of the GPA session that is the destination of the copy.
Valid Usage (Implicit)
VUID-vkCmdCopyGpaSessionResultsAMD-commandBuffer-parameter
commandBuffer must be a valid VkCommandBuffer handle
VUID-vkCmdCopyGpaSessionResultsAMD-gpaSession-parameter
gpaSession must be a valid VkGpaSessionAMD handle
VUID-vkCmdCopyGpaSessionResultsAMD-commandBuffer-recording
commandBuffer must be in the recording state
VUID-vkCmdCopyGpaSessionResultsAMD-commandBuffer-cmdpool
The VkCommandPool that commandBuffer was allocated from must support VK_QUEUE_COMPUTE_BIT, VK_QUEUE_GRAPHICS_BIT, or VK_QUEUE_TRANSFER_BIT operations
VUID-vkCmdCopyGpaSessionResultsAMD-suspended
This command must not be called between suspended render pass instances
VUID-vkCmdCopyGpaSessionResultsAMD-videocoding
This command must only be called outside of a video coding scope
VUID-vkCmdCopyGpaSessionResultsAMD-commonparent
Both of commandBuffer, and gpaSession must have been created, allocated, or retrieved from the same VkDevice
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Parent
VK_AMD_gpa_interfaceType
Function Prototype
Command Buffer Level
primarysecondary
Queue Types
VK_QUEUE_GRAPHICS_BITVK_QUEUE_COMPUTE_BITVK_QUEUE_TRANSFER_BIT
Command Type
actionstate