Function Prototype

vkGetExecutionGraphPipelineNodeIndexAMDX

Query internal id of a node in an execution graph

To query the internal node index for a particular node in an execution graph, call:

VkResult vkGetExecutionGraphPipelineNodeIndexAMDX(
    VkDevice                                        device,
    VkPipeline                                      executionGraph,
    const VkPipelineShaderStageNodeCreateInfoAMDX*  pNodeInfo,
    uint32_t*                                       pNodeIndex);
  • device is the logical device that executionGraph was created on.
  • executionGraph is the execution graph pipeline to query the internal node index for.
  • pNodeInfo is a pointer to a VkPipelineShaderStageNodeCreateInfoAMDX structure identifying the name and index of the node to query.
  • pNodeIndex is the returned internal node index of the identified node.

Once this function returns, the contents of pNodeIndex contain the internal node index of the identified node.

Valid Usage

VUID-vkGetExecutionGraphPipelineNodeIndexAMDX-pNodeInfo-09141

pNodeInfo→index must not be VK_SHADER_INDEX_UNUSED_AMDX

VUID-vkGetExecutionGraphPipelineNodeIndexAMDX-executionGraph-09142

There must be a node in executionGraph with a shader name and index equal to pNodeInfo→pName and pNodeInfo→index

Valid Usage (Implicit)