summaryrefslogtreecommitdiffstats
path: root/tests/wgsl/semantic-group-index.slang
blob: 06429ff39c742a22c66fd5523d86241b5650e14a (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_index)
//WGSL-DAG: @compute

void main(uint idx : SV_GroupIndex) 
{
    // Empty compute shader
}