mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
tests: Avoid depending on float accuracy in the round() test.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e9ff88469e
commit
9bbce56dad
@ -5,9 +5,9 @@ float4 main(uniform float4 u) : sv_target
|
||||
}
|
||||
|
||||
[test]
|
||||
uniform 0 float4 -0.5 6.5 7.5 3.4
|
||||
uniform 0 float4 -0.4 -6.6 7.6 3.4
|
||||
draw quad
|
||||
probe all rgba (0.0, 6.0, 8.0, 3.0) 4
|
||||
probe all rgba (0.0, -7.0, 8.0, 3.0) 4
|
||||
|
||||
|
||||
|
||||
@ -21,9 +21,9 @@ float4 main(uniform float4 u) : sv_target
|
||||
}
|
||||
|
||||
[test]
|
||||
uniform 0 float4 -0.5 6.5 7.5 3.4
|
||||
uniform 0 float4 -0.4 -6.6 7.6 3.4
|
||||
draw quad
|
||||
probe all rgba (6.0, 8.0, 0.0, 3.0) 4
|
||||
probe all rgba (-7.0, 8.0, 0.0, 3.0) 4
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user