C Specification
To create execution graph pipelines, call:
// Provided by VK_AMDX_shader_enqueue
VkResult vkCreateExecutionGraphPipelinesAMDX(
VkDevice device,
VkPipelineCache pipelineCache,
uint32_t createInfoCount,
const VkExecutionGraphPipelineCreateInfoAMDX* pCreateInfos,
const VkAllocationCallbacks* pAllocator,
VkPipeline* pPipelines);
Parameters
-
device
is the logical device that creates the execution graph pipelines. -
pipelineCache
is either VK_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. -
createInfoCount
is the length of thepCreateInfos
andpPipelines
arrays. -
pCreateInfos
is a pointer to an array of VkExecutionGraphPipelineCreateInfoAMDX structures. -
pAllocator
controls host memory allocation as described in the Memory Allocation chapter. -
pPipelines
is a pointer to an array of VkPipeline handles in which the resulting execution graph pipeline objects are returned.
Description
The implementation will create a pipeline in each element of
pPipelines
from the corresponding element of pCreateInfos
.
If creation of any pipeline fails, that pipeline will be set to
VK_NULL_HANDLE.
If creation fails for a pipeline create info with a
VkExecutionGraphPipelineCreateInfoAMDX::flags
value that
included VK_PIPELINE_CREATE_EARLY_RETURN_ON_FAILURE_BIT
, all pipelines
at a greater index all automatically fail.
Document Notes
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.