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);
deviceis the logical device that creates the execution graph pipelines.
pipelineCacheis 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.
createInfoCountis the length of the
pCreateInfosis a pointer to an array of VkExecutionGraphPipelineCreateInfoAMDX 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 execution graph pipeline objects are returned.
The implementation will create a pipeline in each element of
pPipelines from the corresponding element of
If creation of any pipeline fails, that pipeline will be set to
If creation fails for a pipeline create info with a
flags value that
VK_PIPELINE_CREATE_EARLY_RETURN_ON_FAILURE_BIT, all pipelines
at a greater index all automatically fail.
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.