Function Prototype

vkDestroyDataGraphPipelineSessionARM

Destroy a data graph pipeline session object

To destroy a data graph pipeline session, call:

void vkDestroyDataGraphPipelineSessionARM(
    VkDevice device,
    VkDataGraphPipelineSessionARM session,
    const VkAllocationCallbacks* pAllocator);
  • device is the logical device that destroys the data graph pipeline session.
  • session is the handle of the data graph pipeline session to destroy.
  • pAllocator controls host memory allocation as described in the Memory Allocation chapter.

Valid Usage

VUID-vkDestroyDataGraphPipelineSessionARM-session-09793

All submitted commands that refer to session must have completed execution

VUID-vkDestroyDataGraphPipelineSessionARM-session-09794

If VkAllocationCallbacks were provided when session was created, a compatible set of callbacks must be provided here

VUID-vkDestroyDataGraphPipelineSessionARM-session-09795

If no VkAllocationCallbacks were provided when session was created, pAllocator must be NULL

Valid Usage (Implicit)

VUID-vkDestroyDataGraphPipelineSessionARM-pAllocator-parameter

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

VUID-vkDestroyDataGraphPipelineSessionARM-session-parent

session must have been created, allocated, or retrieved from device

Host Synchronization

  • Host access to session must be externally synchronized