Class VkPipelineShaderStageNodeCreateInfoAMDX

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

public class VkPipelineShaderStageNodeCreateInfoAMDX extends org.lwjgl.system.Struct<VkPipelineShaderStageNodeCreateInfoAMDX> implements org.lwjgl.system.NativeResource
Structure specifying the shader name and index with an execution graph.
Description

When included in the pNext chain of a VkPipelineShaderStageCreateInfo structure, this structure specifies the shader name and shader index of a node when creating an execution graph pipeline. If this structure is omitted, the shader name is set to the name of the entry point in SPIR-V and the shader index is set to 0.

When dispatching a node from another shader, the name is fixed at pipeline creation, but the index can be set dynamically. By associating multiple shaders with the same name but different indexes, applications can dynamically select different nodes to execute. Applications must ensure each node has a unique name and index.

Note

Shaders with the same name must be of the same type - e.g. a compute and graphics shader, or even two compute shaders where one is coalescing and the other is not, cannot share the same name.

Valid Usage (Implicit)
See Also

GetExecutionGraphPipelineNodeIndexAMDX

Layout


 struct VkPipelineShaderStageNodeCreateInfoAMDX {
     VkStructureType sType();
     void const * pNext();
     char const * pName();
     uint32_t index();
 }