C Specification
To create a GPA session object, call:
// Provided by VK_AMD_gpa_interface
VkResult vkCreateGpaSessionAMD(
VkDevice device,
const VkGpaSessionCreateInfoAMD* pCreateInfo,
const VkAllocationCallbacks* pAllocator,
VkGpaSessionAMD* pGpaSession);
Parameters
-
deviceis the logical device that creates the GPA session object. -
pCreateInfois a pointer to a VkGpaSessionCreateInfoAMD structure containing information about how the GPA session object is to be created. -
pAllocatorcontrols host memory allocation as described in the Memory Allocation chapter. -
pGpaSessionis a pointer to a handle in which the resulting GPA session object is returned.
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.