blob: 7e0400b46901e1feef6517ccaa66887c4027101b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
//TEST:REFLECTION:-profile cs_5_0 -target hlsl
// 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;
}
|