yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
adaea0e99
master
1result code = 1 2standard error = { 3tests/diagnostics/attribute-error.slang(19): error 30019: expected an expression of type 'float', got 'String' 4[MyStruct(0, "stringVal")] // attribute arg type mismatch 5 ^ 6tests/diagnostics/attribute-error.slang(22): error 31002: attribute 'MyStruct' is not valid here 7 [MyStruct(0, 10.0)] // attribute does not apply to this construct 8 ^~~~~~~~ 9tests/diagnostics/attribute-error.slang(24): warning 30081: implicit conversion from 'float' to 'int' is not recommended 10 [DefaultValue(2.0)] // attribute arg type mismatch 11 ^~~ 12tests/diagnostics/attribute-error.slang(24): error 39999: expression does not evaluate to a compile-time constant 13 [DefaultValue(2.0)] // attribute arg type mismatch 14 ^~~ 15} 16standard output = { 17}