yum-mirror/slang

Making it easier to work with shaders

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

Yong HeFix ICE when immutable value is passed to a bwd_diff function. (#7973)b8663a5d9

master
534 B12 linesraw
1result code = -1
2standard error = {
3tests/diagnostics/implicit-cast-lvalue.slang(19): warning 30081: implicit conversion from 'double' to 'float' is not recommended
4    a(y);
5      ^
6tests/diagnostics/implicit-cast-lvalue.slang(19): error 30047: argument passed to parameter '0' must be l-value.
7    a(y);
8      ^
9tests/diagnostics/implicit-cast-lvalue.slang(19): note 30063: argument was implicitly cast from 'double' to 'float', and Slang does not support using an implicit cast as an l-value with this type
10}
11standard output = {
12}