-
Notifications
You must be signed in to change notification settings - Fork 27
Add multiple tests for semantics #648
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
This commits adds multiple tests around user & system semantics. This commit also enables the only graphic tests for Clang+Vulkan as it is now supported.
s-perron
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.
Generally looks good. I think one test could be improved.
s-perron
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.
I think the testing is good enough, but a test could be
| Out[DTID.x * 3 + 0] = uint4(DTID.x, GID.x, GTID.x, GI); | ||
| Out[DTID.x * 3 + 1] = uint4(DTID.y, GID.y, GTID.y, 0); | ||
| Out[DTID.x * 3 + 2] = uint4(DTID.z, GID.z, GTID.z, 0); |
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.
Why didn't you do:
uint4(DTID.x, GID.y, GTID.z, GI);
| #--- system_values.hlsl | ||
| RWStructuredBuffer<uint4> Out : register(u0); | ||
|
|
||
| [numthreads(2, 1, 1)] |
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.
You might want to test all of the dimensions:
[numthreads(2, 2, 2)]
This commits adds multiple tests around user & system semantics. This commit also enables the only graphic tests for Clang+Vulkan as it is now supported.