C Specification
The VkGpaSessionCreateInfoAMD structure is defined as:
// Provided by VK_AMD_gpa_interface
typedef struct VkGpaSessionCreateInfoAMD {
VkStructureType sType;
const void* pNext;
VkGpaSessionAMD secondaryCopySource;
} VkGpaSessionCreateInfoAMD;
Members
-
sTypeis a VkStructureType value identifying this structure. -
pNextisNULLor a pointer to a structure extending this structure. -
secondaryCopySourceis aVkGpaSessionAMDhandle whose results can be copied into this session.
Description
When sampling counters inside secondary command buffers, repeated
invocations of the same secondary command buffer causes the previous results
to be overwritten.
To avoid this a GPA session object’s memory layout can be cloned for use
with multiple secondary invocations by specifying its handle in
secondaryCopySource, allowing the new GPA session object to be the
target of a copy using vkCmdCopyGpaSessionResultsAMD.
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.