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

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

void main(uint3 gtid : SV_GroupThreadID) 
{
    // Empty compute shader
}