Skip to content

[spirv] Corrects output node index parameter.#7517

Merged
s-perron merged 1 commit into
microsoft:mainfrom
danbrown-amd:node-index-fix
Jun 6, 2025
Merged

[spirv] Corrects output node index parameter.#7517
s-perron merged 1 commit into
microsoft:mainfrom
danbrown-amd:node-index-fix

Conversation

@danbrown-amd
Copy link
Copy Markdown
Contributor

The node index parameter of OpAllocateNodePayloadsAMDX was being set to the value of the NodeId index argument (which is captured in the PayloadNodeBaseIndexAMDX decoration). Instead, it should be set to the node's index in the node array, if any, or zero for a single node.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 5, 2025

✅ With the latest revision this PR passed the C/C++ code formatter.

@danbrown-amd danbrown-amd force-pushed the node-index-fix branch 2 times, most recently from b80edf7 to 683c961 Compare June 6, 2025 02:32
@s-perron
Copy link
Copy Markdown
Collaborator

s-perron commented Jun 6, 2025

This LGTM, but I'm not very familiar with how the work graphs are suppose to work. I'm going to trust you for that. I'll merge when you tell me it is ready to be merged.

@danbrown-amd
Copy link
Copy Markdown
Contributor Author

It's good to go.

@s-perron s-perron merged commit 2084643 into microsoft:main Jun 6, 2025
12 checks passed
@github-project-automation github-project-automation Bot moved this from New to Done in HLSL Roadmap Jun 6, 2025
@danbrown-amd danbrown-amd deleted the node-index-fix branch June 6, 2025 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants