C Specification
To begin a GPA sample, call:
// Provided by VK_AMD_gpa_interface
VkResult vkCmdBeginGpaSampleAMD(
VkCommandBuffer commandBuffer,
VkGpaSessionAMD gpaSession,
const VkGpaSampleBeginInfoAMD* pGpaSampleBeginInfo,
uint32_t* pSampleID);
Parameters
-
commandBufferis the command buffer into which the command will be recorded. -
gpaSessionis the handle of the GPA session to record the sample. -
pGpaSampleBeginInfois a pointer to a VkGpaSampleBeginInfoAMD structure describing the sample parameters. -
pSampleIDis the unique sample ID returned for this sample.
Document Notes
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.