Function Prototype

vkCreateGpaSessionAMD

Create a new GPA session object

To create a GPA session object, call:

VkResult vkCreateGpaSessionAMD(
    VkDevice                                     device,
    const VkGpaSessionCreateInfoAMD*             pCreateInfo,
    const VkAllocationCallbacks* pAllocator,
    VkGpaSessionAMD*                             pGpaSession);
  • device is the logical device that creates the GPA session object.
  • pCreateInfo is a pointer to a VkGpaSessionCreateInfoAMD structure containing information about how the GPA session object is to be created.
  • pAllocator controls host memory allocation as described in the Memory Allocation chapter.
  • pGpaSession is a pointer to a handle in which the resulting GPA session object is returned.

Valid Usage (Implicit)

VUID-vkCreateGpaSessionAMD-pCreateInfo-parameter

pCreateInfo must be a valid pointer to a valid VkGpaSessionCreateInfoAMD structure

VUID-vkCreateGpaSessionAMD-pAllocator-parameter

If pAllocator is not NULL, pAllocator must be a valid pointer to a valid VkAllocationCallbacks structure

VUID-vkCreateGpaSessionAMD-pGpaSession-parameter

pGpaSession must be a valid pointer to a VkGpaSessionAMD handle

VUID-vkCreateGpaSessionAMD-device-queuecount

The device must have been created with at least 1 queue