yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

Yong HeFix crash when trying to constant fold non-existent call. (#3728)10c4d2e76

master
240 B10 linesraw
1//TEST:SIMPLE(filecheck=CHECK): -target spirv -stage compute -entry main
2
3// CHECK: undefined identifier
4
5[shader("compute")]
6[numthreads(1, 1, 1)]
7void main(uint3 dtid : SV_DispatchThreadID)
8{    
9    const uint index = does_not_exist();
10}