Function Prototype
vkDestroyGpaSessionAMD
Destroy a GPA session object
To destroy a GPA session object, call:
void vkDestroyGpaSessionAMD(
VkDevice device,
VkGpaSessionAMD gpaSession,
const VkAllocationCallbacks* pAllocator);
pub fn destroy_gpa_session_amd(
device: vk::Device,
gpa_session: vk::GpaSessionAMD,
p_allocator: *const vk::AllocationCallbacks,
);
deviceis the logical device that destroys the GPA session.gpaSessionis the handle of the GPA session to destroy.pAllocatorcontrols 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-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
gpaSessionmust be externally synchronized
Parent
VK_AMD_gpa_interfaceType
Function Prototype