[PATCH vkd3d 5/5] tests: Avoid depending on float accuracy in the round() test.
Zebediah Figura
zfigura at codeweavers.com
Sun Mar 6 20:04:38 CST 2022
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
tests/round.shader_test | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/round.shader_test b/tests/round.shader_test
index e05f9dc5e..635110359 100644
--- a/tests/round.shader_test
+++ b/tests/round.shader_test
@@ -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
--
2.35.1
More information about the wine-devel
mailing list