9.3. Pipeline destruction

To destroy a graphics or compute pipeline, call:

 

void vkDestroyPipeline(
    VkDevice                                    device,
    VkPipeline                                  pipeline,
    const VkAllocationCallbacks*                pAllocator);