tests: Relax the precision of some tests so that they pass on MoltenVK.

This commit is contained in:
Giovanni Mascellani 2023-09-18 09:10:15 +02:00 committed by Alexandre Julliard
parent ee28861837
commit b8f2c3e1f4
Notes: Alexandre Julliard 2023-09-18 22:14:03 +02:00
Approved-by: Henri Verbeet (@hverbeet)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/348
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ float4 main() : sv_target
[test] [test]
uniform 0 float4 -1.0 0.0 1.0 2.0 uniform 0 float4 -1.0 0.0 1.0 2.0
draw quad draw quad
probe all rgba (0.5, 1.0, 2.0, 4.0) 1 probe all rgba (0.5, 1.0, 2.0, 4.0) 2
[pixel shader] [pixel shader]
uniform float4 f; uniform float4 f;

View File

@ -11,7 +11,7 @@ float4 main() : SV_TARGET
uniform 0 float4 2.0 3.0 4.0 5.0 uniform 0 float4 2.0 3.0 4.0 5.0
uniform 4 float4 0.0 -10.0 10.0 100.0 uniform 4 float4 0.0 -10.0 10.0 100.0
draw quad draw quad
probe all rgba (2.0, 0.00292968750, 4096.0, 6.33825300e+030) probe all rgba (2.0, 0.00292968750, 4096.0, 6.33825300e+030) 2
[require] [require]
shader model >= 4.0 shader model >= 4.0
@ -29,7 +29,7 @@ float4 main() : SV_TARGET
uniform 0 int4 2 3 4 5 uniform 0 int4 2 3 4 5
uniform 4 int4 0 -10 10 100 uniform 4 int4 0 -10 10 100
draw quad draw quad
probe all rgba (2.0, 0.00292968750, 4096.0, 6.33825300e+030) probe all rgba (2.0, 0.00292968750, 4096.0, 6.33825300e+030) 2
[pixel shader] [pixel shader]