summaryrefslogtreecommitdiffstats
path: root/tests/bugs/gh-3727.slang
blob: 89480d14692d79c3e2bad781f6bd16c1cf07851c (plain)
1
2
3
4
5
6
7
8
9
10
//TEST:SIMPLE(filecheck=CHECK): -target spirv -stage compute -entry main

// CHECK: undefined identifier

[shader("compute")]
[numthreads(1, 1, 1)]
void main(uint3 dtid : SV_DispatchThreadID)
{    
    const uint index = does_not_exist();
}