Skip to content

Conversation

@Keenuts
Copy link
Contributor

@Keenuts Keenuts commented Jan 12, 2026

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.

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.
Copy link
Contributor

@s-perron s-perron left a 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 s-perron requested a review from tex3d January 12, 2026 20:57
@Keenuts Keenuts requested a review from hekota January 15, 2026 12:28
Copy link
Contributor

@s-perron s-perron left a 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

Comment on lines +6 to +8
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);
Copy link
Contributor

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)]
Copy link
Contributor

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)]

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants