Function Prototype

vkDestroyGpaSessionAMD

Destroy a GPA session object

To destroy a GPA session object, call:

void vkDestroyGpaSessionAMD(
    VkDevice                                          device,
    VkGpaSessionAMD gpaSession,
    const VkAllocationCallbacks*      pAllocator);
  • device is the logical device that destroys the GPA session.
  • gpaSession is the handle of the GPA session to destroy.
  • pAllocator controls host memory allocation as described in the Memory Allocation chapter.

Valid Usage

VUID-vkDestroyGpaSessionAMD-gpaSession-12408

All submitted commands that refer to gpaSession must have completed execution

Valid Usage (Implicit)

VUID-vkDestroyGpaSessionAMD-gpaSession-parameter

If gpaSession is not VK_NULL_HANDLE, gpaSession must be a valid VkGpaSessionAMD handle

VUID-vkDestroyGpaSessionAMD-pAllocator-parameter

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

VUID-vkDestroyGpaSessionAMD-gpaSession-parent

If gpaSession is a valid handle, it must have been created, allocated, or retrieved from device

Host Synchronization

  • Host access to gpaSession must be externally synchronized