vkGetGpaSessionResultsAMD(3)
C Specification
Once a GPA session’s results are available, they can be obtained by:
// Provided by VK_AMD_gpa_interface
VkResult vkGetGpaSessionResultsAMD(
VkDevice device,
VkGpaSessionAMD gpaSession,
uint32_t sampleID,
size_t* pSizeInBytes,
void* pData);
Parameters
-
deviceis the logical device used to create the GPA session. -
gpaSessionis the session whose results are queried. -
sampleIDis the sample ID, returned by vkCmdBeginGpaSampleAMD, whose results are to be queried. -
pSizeInBytesis a pointer to asize_tvalue related to the size of the results data, as described below. -
pDatais eitherNULLor a pointer to an array ofpSizeInBytesbytes where the results will be written.
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.