yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
c35b763f8
master
1result code = -1 2standard error = { 3tests/diagnostics/autodiff-custom-diff-inout.slang(3): error 30019: expected an expression of type 'float', got 'DifferentialPair<float>' 4[BackwardDerivative(__d_f)] 5 ^~~~~~~~~~~~~~~~~~ 6tests/diagnostics/autodiff-custom-diff-inout.slang(3): error 31149: invalid custom derivative. parameter type mismatch at position 0. expected 'inout DifferentialPair<float>', got 'float' 7[BackwardDerivative(__d_f)] 8 ^~~~~~~~~~~~~~~~~~ 9} 10standard output = { 11}