To create compute pipelines, call:
// Provided by VK_VERSION_1_0
const VkComputePipelineCreateInfo* pCreateInfos,
const VkAllocationCallbacks* pAllocator,
deviceis the logical device that creates the compute pipelines.
pipelineCacheis the handle of a valid pipeline cache object.
createInfoCountis the length of the
pCreateInfosis a pointer to an array of VkComputePipelineCreateInfo structures.
pAllocatorcontrols host memory allocation as described in the Memory Allocation chapter.
pPipelinesis a pointer to an array of VkPipeline handles in which the resulting compute pipeline objects are returned.
If a pipeline creation fails due to:
The identified pipeline not being present in
pNextchain not including a VkPipelineOfflineCreateInfo structure
the operation will continue as specified in Multiple
Pipeline Creation and the command will return
vkCreateComputePipelines must not return
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.