createDataGraphPipelinesARM :: MonadIO io=> Devicedeviceis the logical device that creates the data graph pipelines.-> DeferredOperationKHRdeferredOperationis NULL_HANDLE or the handle of a valid DeferredOperationKHR request deferral object for this command.-> PipelineCachepipelineCacheis either NULL_HANDLE, indicating that pipeline caching is disabled; or the handle of a valid pipeline cache object, in which case use of that cache is enabled for the duration of the command.->"createInfos"
::: Vector (SomeStruct DataGraphPipelineCreateInfoARM)pCreateInfosis a pointer to an array of DataGraphPipelineCreateInfoARM structures.->"allocator"
::: Maybe AllocationCallbackspAllocatorcontrols host memory allocation as described in the Memory Allocation chapter.-> io (Result,"pipelines"
::: Vector Pipeline)
vkCreateDataGraphPipelinesARM - Create data graph pipeline objects
Description
The implementation will create a pipeline in each element of
pPipelines from the corresponding element of pCreateInfos. If the
creation of any pipeline fails, that pipeline will be set to
NULL_HANDLE.
Valid Usage
The dataGraph feature must be enabled
devicemust support at least one queue family with the QUEUE_DATA_GRAPH_BIT_ARM capabilitydeferredOperationmust be NULL_HANDLEIf
deferredOperationis not NULL_HANDLE, theflagsmember of elements ofpCreateInfosmust not include PIPELINE_CREATE_EARLY_RETURN_ON_FAILURE_BITIf at least one of the DataGraphPipelineCreateInfoARM includes a DataGraphPipelineIdentifierCreateInfoARM structure in its
pNextchain thenpipelineCachemust not be NULL_HANDLEIf
pipelineCachewas created with PIPELINE_CACHE_CREATE_EXTERNALLY_SYNCHRONIZED_BIT, host access topipelineCachemust be externally synchronized
Valid Usage (Implicit)
devicemust be a valid Device handle
If
deferredOperationis not NULL_HANDLE,deferredOperationmust be a valid DeferredOperationKHR handleIf
pipelineCacheis not NULL_HANDLE,pipelineCachemust be a valid PipelineCache handlepCreateInfosmust be a valid pointer to an array ofcreateInfoCountvalid DataGraphPipelineCreateInfoARM structuresIf
pAllocatoris notNULL,pAllocatormust be a valid pointer to a valid AllocationCallbacks structurepPipelinesmust be a valid pointer to an array ofcreateInfoCountPipeline handlesThe device must have been created with at least
1queuecreateInfoCountmust be greater than0If
deferredOperationis a valid handle, it must have been created, allocated, or retrieved fromdeviceIf
pipelineCacheis a valid handle, it must have been created, allocated, or retrieved fromdevice
Return Codes
See Also
VK_ARM_data_graph, AllocationCallbacks, DataGraphPipelineCreateInfoARM, DeferredOperationKHR, Device, Pipeline, PipelineCache