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);
deviceis the logical device thatexecutionGraphwas created on.executionGraphis the execution graph pipeline to query the internal node index for.pNodeInfois a pointer to a VkPipelineShaderStageNodeCreateInfoAMDX structure identifying the name and index of the node to query.pNodeIndexis 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-09140
pNodeInfo→pName must not be NULL
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)
VUID-vkGetExecutionGraphPipelineNodeIndexAMDX-device-parameter
device must be a valid VkDevice handle
VUID-vkGetExecutionGraphPipelineNodeIndexAMDX-executionGraph-parameter
executionGraph must be a valid VkPipeline handle
VUID-vkGetExecutionGraphPipelineNodeIndexAMDX-pNodeInfo-parameter
pNodeInfo must be a valid pointer to a valid VkPipelineShaderStageNodeCreateInfoAMDX structure
VUID-vkGetExecutionGraphPipelineNodeIndexAMDX-pNodeIndex-parameter
pNodeIndex must be a valid pointer to a uint32_t value
VUID-vkGetExecutionGraphPipelineNodeIndexAMDX-executionGraph-parent
executionGraph must have been created, allocated, or retrieved from device