2 Nov
2023
2 Nov
'23
9:46 a.m.
Giovanni Mascellani (@giomasce) commented about tests/hlsl/inverse-trig.shader_test:
+[pixel shader] +uniform float4 a; + +float4 main() : sv_target +{ + // Add 10 to avoid epsilon problems near 0 + // Note that this means -8.5odd means -pi/2 Is this really needed, especially once you're using the right coefficients?
Please, also test what happens out of the definition domain of the function, including for infinities. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/364#note_50602