Henri Verbeet pushed to branch master at wine / vkd3d
Commits: 30379087 by Giovanni Mascellani at 2025-10-27T18:53:38+01:00 tests/hlsl: Use explicit infinities in cast-to-half.shader_test.
We used to need workarounds when we used scanf() to parse float numbers, but now we use strtof() which supports "inf" properly. On the other hand, on some platforms it is the workaround that now fails with a range error.
- - - - - 2b68f488 by Giovanni Mascellani at 2025-10-27T18:55:58+01:00 tests/hlsl: Do not test some details of float-to-half conversion.
Native implementations do not behave consistently.
- - - - - 85a1fb6e by Giovanni Mascellani at 2025-10-27T18:57:37+01:00 tests/hlsl: Use explicit infinities in half.shader_test.
We used to need workarounds when we used scanf() to parse float numbers, but now we use strtof() which supports "inf" properly. On the other hand, on some platforms it is the workaround that now fails with a range error.
- - - - - f72307fc by Giovanni Mascellani at 2025-10-27T18:59:13+01:00 tests/hlsl: Evaluate asin() with larger error tolerance on SM6.
It currently fails with WARP.
- - - - - ca81ffe0 by Giovanni Mascellani at 2025-10-27T19:01:00+01:00 tests/hlsl: Add SM6 behaviour in sm1-const-folding.shader_test.
Which fortunately looks saner than previous shader models.
- - - - - dedb14e5 by Giovanni Mascellani at 2025-10-27T19:01:09+01:00 tests/hlsl: Tweak hyperbolic functions tests on WARP.
WARP seems to be completely off for large argument values. The difference quickly becomes of order of magnitudes, not ULPs. So we ensure we test hyperbolic functions mostly for small arguments, and skip WARP for large arguments.
- - - - -
5 changed files:
- tests/hlsl/cast-to-half.shader_test - tests/hlsl/half.shader_test - tests/hlsl/inverse-trig.shader_test - tests/hlsl/sm1-const-folding.shader_test - tests/hlsl/trigonometry.shader_test
View it on GitLab: https://gitlab.winehq.org/wine/vkd3d/-/compare/6654b884079f8e9c32391c2b6b529...