diff options
Diffstat (limited to 'tests/reflection/thread-group-size.hlsl')
| -rw-r--r-- | tests/reflection/thread-group-size.hlsl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/reflection/thread-group-size.hlsl b/tests/reflection/thread-group-size.hlsl new file mode 100644 index 000000000..650a41e46 --- /dev/null +++ b/tests/reflection/thread-group-size.hlsl @@ -0,0 +1,11 @@ +//TEST:SIMPLE:-profile cs_5_0 -target reflection-json + +// Confirm that we provide reflection data for the `numthreads` attribute + +RWStructuredBuffer<float> b; + +[numthreads(3,5,7)] +void main(uint3 tid : SV_DispatchThreadID) +{ + b[tid.x] = b[tid.x + 1] + 1.0f; +}
\ No newline at end of file |
