tests: Set ULPs to 2 in normalize() test.

Otherwise the test fails on a NVIDIA GeForce GTX 1050 Ti GPU.

The error being:
shader_runner:535:Section [test], line 9: Test failed: Got {2.72165507e-01, 4.08248246e-01, 5.44331014e-01, 6.80413783e-01}, expected {2.72165537e-01, 4.08248305e-01, 5.44331074e-01, 6.80413842e-01} at (0, 0).
This commit is contained in:
Francisco Casas 2022-10-10 20:55:15 -03:00 committed by Alexandre Julliard
parent ab8f418207
commit 3bae0c92c7
Notes: Alexandre Julliard 2022-10-18 00:13:00 +02:00
Approved-by: Zebediah Figura (@zfigura)
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/29

View File

@ -9,7 +9,7 @@ float4 main() : SV_TARGET
[test]
uniform 0 float4 2.0 3.0 4.0 5.0
draw quad
probe all rgba (0.272165537, 0.408248305, 0.544331074, 0.680413842) 1
probe all rgba (0.272165537, 0.408248305, 0.544331074, 0.680413842) 2
[pixel shader]
uniform float3 x;