yum-mirror/slang

Making it easier to work with shaders

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

Sai Praveen BangaruFix data-flow analysis not propagating diff property through differentiable calls (#3010)b40b711f5

master
304 B8 linesraw
1result code = -1
2standard error = {
3tests/diagnostics/autodiff-data-flow-4.slang(29): error 41020: derivative cannot be propagated through call to non-backward-differentiable function `nonDiff`, use 'no_diff' to clarify intention.
4    float y = nonDiff(x);
5                     ^
6}
7standard output = {
8}