vkDestroyGpaSessionAMD(3)

Name

vkDestroyGpaSessionAMD - Destroy a GPA session object

C Specification

To destroy a GPA session object, call:

// Provided by VK_AMD_gpa_interface
void vkDestroyGpaSessionAMD(
    VkDevice                                    device,
    VkGpaSessionAMD                             gpaSession,
    const VkAllocationCallbacks*                pAllocator);

Parameters

  • 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.

Description

Valid Usage
  • VUID-vkDestroyGpaSessionAMD-gpaSession-12408
    All submitted commands that refer to gpaSession must have completed execution

Valid Usage (Implicit)
  • VUID-vkDestroyGpaSessionAMD-device-parameter
    device must be a valid VkDevice handle

  • 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

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.