yum-mirror/slang

Making it easier to work with shaders

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

Ellie HermaszewskaFix erroneous error claiming variable is being used before its declaration (#2958)cdfea42f1

master
393 B11 linesraw
1result code = -1
2standard error = {
3tests/diagnostics/parameter-already-defined.slang(4): error 30200: declaration of 'a' conflicts with existing declaration
4int foo( int a, float a ) { return 0; }
5                      ^
6tests/diagnostics/parameter-already-defined.slang(4): note: see previous declaration of 'a'
7int foo( int a, float a ) { return 0; }
8             ^
9}
10standard output = {
11}