yum-mirror/slang

Making it easier to work with shaders

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

Yong HeFix namespace parsing. (#3803)c28a22fb8

master
246 B11 linesraw
1//TEST:SIMPLE(filecheck=CHECK): -target spirv -emit-spirv-directly
2
3namespace foo::bar::baz {}
4namespace foo::bar {} // <- leaving this out "fixes" the issue
5
6// CHECK: OpEntryPoint
7
8[shader("compute")]
9[numthreads(1, 1, 1)]
10void computeMain()
11{}