summaryrefslogtreecommitdiffstats
path: root/tests/wgsl/semantic-dispatch-thread-id.slang
blob: 9216c02daa52acc4e0ac17a4e7d8d1ba0d21d118 (plain)
1
2
3
4
5
6
7
8
9
//TEST:SIMPLE(filecheck=WGSL): -target wgsl -stage compute -entry main

//WGSL-DAG: @builtin(global_invocation_id)
//WGSL-DAG: @compute

void main(uint3 dtid : SV_DispatchThreadID) 
{
    // Empty compute shader
}