-
Notifications
You must be signed in to change notification settings - Fork 813
Allow derivatives in coalescing nodes #7942
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
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
tools/clang/test/HLSLFileCheck/hlsl/objects/Texture/derivatives_in_csmsas.hlsl
Show resolved
Hide resolved
tools/clang/test/HLSLFileCheck/hlsl/objects/Texture/derivatives_in_csmsas.hlsl
Show resolved
Hide resolved
added mention of coalescing nodes allowing derivatives
|
LGTM! |
alsepkow
left a comment
There was a problem hiding this 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.
I suppose they aren't. I guess I thought they were required. Removed. Could one of you trigger the CI checks? |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
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