Skip to content

Conversation

@pow2clk
Copy link
Collaborator

@pow2clk pow2clk commented Nov 21, 2025

Per the spec ( https://github.com/microsoft/DirectX-Specs/blob/master/d3d/WorkGraphs.md#quad-and-derivative-operation-semantics ) derivatives are allowed in all but thread launch nodes, but the validator disallowed them in coalescing nodes.

This changes the validator to allow derivatives in coalescind nodes and adds testing for derivatives in coalescing and broadcast nodes.

Fixes #7723

Per the spec ( https://github.com/microsoft/DirectX-Specs/blob/master/d3d/WorkGraphs.md#quad-and-derivative-operation-semantics ) derivatives are allowed in all but thread launch nodes, but the validator disallowed them in coalescing nodes.

This changes the validator to allow derivatives in coalescind nodes and adds testing for derivatives in coalescing and broadcast nodes.

Fixes microsoft#7723
added mention of coalescing nodes allowing derivatives
@anupamachandra
Copy link
Collaborator

LGTM!

Copy link
Contributor

@alsepkow alsepkow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTUS (Me and Finn reviewed together).

But we were curious why inputData and inputRecords need to be declared as input arguments.

@pow2clk
Copy link
Collaborator Author

pow2clk commented Dec 5, 2025

LGTUS (Me and Finn reviewed together).

But we were curious why inputData and inputRecords need to be declared as input arguments.

I suppose they aren't. I guess I thought they were required. Removed.

Could one of you trigger the CI checks?

@V-FEXrt
Copy link
Collaborator

V-FEXrt commented Dec 5, 2025

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

Derivative operations in Work Graph Coalescing nodes

4 participants