mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
tests: Relax the precision of some tests so that they pass on MoltenVK.
This commit is contained in:
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
@ -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;
|
||||||
|
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user