yum-mirror/slang

Making it easier to work with shaders

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

Yong HeAllow var/param names to be the same as type name. (#3850)b346a9333

master
301 B20 linesraw
1//TEST:SIMPLE(filecheck=CHECK):-target spirv -emit-spirv-directly
2
3// CHECK: OpEntryPoint
4
5namespace example {
6  struct Example {}
7}
8
9struct Struct {
10  example::Example example;
11}
12
13void func(Struct Struct)
14{
15    // Test parameter name to be the same as type name.
16}
17
18[numthreads(1,1,1)]
19void main()
20{}