Module: wine Branch: master Commit: edf88aa9df420e20fb07bf5fa18e7990593d2615 URL: https://gitlab.winehq.org/wine/wine/-/commit/edf88aa9df420e20fb07bf5fa18e799...
Author: Francois Gouget fgouget@codeweavers.com Date: Thu Jan 5 11:45:45 2023 +0100
d3dcompiler/tests: Allow more imprecision in test_trig() for NVIDIA.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54150
---
dlls/d3dcompiler_43/tests/hlsl_d3d11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/d3dcompiler_43/tests/hlsl_d3d11.c b/dlls/d3dcompiler_43/tests/hlsl_d3d11.c index 4f52002866e..3e6f3614986 100644 --- a/dlls/d3dcompiler_43/tests/hlsl_d3d11.c +++ b/dlls/d3dcompiler_43/tests/hlsl_d3d11.c @@ -501,7 +501,7 @@ static void test_trig(void) for (i = 0; i < 640; i += 20) { v = get_readback_vec4(&rb, i, 0); - ok(compare_vec4(v, sinf(i), cosf(i), 0.0f, 0.0f, 8192), + ok(compare_vec4(v, sinf(i), cosf(i), 0.0f, 0.0f, 16384), "Test %u: Got {%.8e, %.8e, %.8e, %.8e}, expected {%.8e, %.8e, %.8e, %.8e}.\n", i, v->x, v->y, v->z, v->w, sinf(i), cos(i), 0.0f, 0.0f); }