createPipelineBinariesKHR :: MonadIO io=> Devicedeviceis the logical device that creates the pipeline binary objects.-> PipelineBinaryCreateInfoKHRpCreateInfois a pointer to a PipelineBinaryCreateInfoKHR structure that contains the data to create the pipeline binaries from.->"allocator"
::: Maybe AllocationCallbackspAllocatorcontrols host memory allocation as described in the Memory Allocation chapter.-> io (Result,"binaries"
::: PipelineBinaryHandlesInfoKHR)
vkCreatePipelineBinariesKHR - Create pipeline binaries from a pipeline or previously retrieved data
Description
The implementation will attempt to create all pipeline binaries. If creation fails for any pipeline binary, then:
The corresponding entry in the
pPipelineBinariesoutput array will be filled with NULL_HANDLE.The Result returned by createPipelineBinariesKHR will contain the error value for the first entry in the output array in
pBinariescontaining NULL_HANDLE.
Valid Usage (Implicit)
devicemust be a valid Device handle
pCreateInfomust be a valid pointer to a valid PipelineBinaryCreateInfoKHR structureIf
pAllocatoris notNULL,pAllocatormust be a valid pointer to a valid AllocationCallbacks structurepBinariesmust be a valid pointer to a PipelineBinaryHandlesInfoKHR structure
Return Codes
See Also
VK_KHR_pipeline_binary, AllocationCallbacks, Device, PipelineBinaryCreateInfoKHR, PipelineBinaryHandlesInfoKHR