Class VkExecutionGraphPipelineCreateInfoAMDX

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkExecutionGraphPipelineCreateInfoAMDX>
org.lwjgl.vulkan.VkExecutionGraphPipelineCreateInfoAMDX
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkExecutionGraphPipelineCreateInfoAMDX extends org.lwjgl.system.Struct<VkExecutionGraphPipelineCreateInfoAMDX> implements org.lwjgl.system.NativeResource
Structure specifying parameters of a newly created execution graph pipeline.
Description

The parameters basePipelineHandle and basePipelineIndex are described in more detail in Pipeline Derivatives.

Each shader stage provided when creating an execution graph pipeline (including those in libraries) is associated with a name and an index, determined by the inclusion or omission of a VkPipelineShaderStageNodeCreateInfoAMDX structure in its pNext chain.

In addition to the shader name and index, an internal "node index" is also generated for each node, which can be queried with GetExecutionGraphPipelineNodeIndexAMDX, and is used exclusively for initial dispatch of an execution graph.

Valid Usage
  • If the pNext chain does not include a VkPipelineCreateFlags2CreateInfoKHR structure, flags must be a valid combination of VkPipelineCreateFlagBits values
  • If flags contains the PIPELINE_CREATE_DERIVATIVE_BIT flag, and basePipelineIndex is -1, basePipelineHandle must be a valid execution graph VkPipeline handle
  • If flags contains the PIPELINE_CREATE_DERIVATIVE_BIT flag, and basePipelineHandle is NULL_HANDLE, basePipelineIndex must be a valid index into the calling command’s pCreateInfos parameter
  • If flags contains the PIPELINE_CREATE_DERIVATIVE_BIT flag, basePipelineIndex must be -1 or basePipelineHandle must be NULL_HANDLE
  • If a push constant block is declared in a shader, a push constant range in layout must match both the shader stage and range
  • If a resource variables is declared in a shader, a descriptor slot in layout must match the shader stage
  • If a resource variables is declared in a shader, and the descriptor type is not DESCRIPTOR_TYPE_MUTABLE_EXT, a descriptor slot in layout must match the descriptor type
  • If a resource variables is declared in a shader as an array, a descriptor slot in layout must match the descriptor count
Valid Usage (Implicit)
See Also

VkPipelineLibraryCreateInfoKHR, VkPipelineShaderStageCreateInfo, CreateExecutionGraphPipelinesAMDX

Layout


 struct VkExecutionGraphPipelineCreateInfoAMDX {
     VkStructureType sType();
     void const * pNext();
     VkPipelineCreateFlags flags();
     uint32_t stageCount();
     VkPipelineShaderStageCreateInfo const * pStages();
     VkPipelineLibraryCreateInfoKHR const * pLibraryInfo();
     VkPipelineLayout layout();
     VkPipeline basePipelineHandle();
     int32_t basePipelineIndex();
 }