Chip Davis : tests: Parse max ulps in the "probe rect rgba" case. (Clang).

Alexandre Julliard julliard at winehq.org
Mon Aug 16 17:41:10 CDT 2021


Module: vkd3d
Branch: master
Commit: 34edc44b6f47e28ed06dca2d92f711fc9cae4810
URL:    https://source.winehq.org/git/vkd3d.git/?a=commit;h=34edc44b6f47e28ed06dca2d92f711fc9cae4810

Author: Chip Davis <cdavis at codeweavers.com>
Date:   Sun Aug 15 13:37:15 2021 -0500

tests: Parse max ulps in the "probe rect rgba" case. (Clang).

Signed-off-by: Chip Davis <cdavis at codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 tests/shader_runner_d3d12.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/shader_runner_d3d12.c b/tests/shader_runner_d3d12.c
index 4221804..353e42c 100644
--- a/tests/shader_runner_d3d12.c
+++ b/tests/shader_runner_d3d12.c
@@ -178,7 +178,8 @@ static void parse_test_directive(struct shader_context *context, const char *lin
         RECT rect;
         int ret;
 
-        ret = sscanf(line, "( %u , %u , %u , %u ) ( %f , %f , %f , %f )", &x, &y, &w, &h, &v.x, &v.y, &v.z, &v.w);
+        ret = sscanf(line, "( %u , %u , %u , %u ) ( %f , %f , %f , %f ) %u",
+                     &x, &y, &w, &h, &v.x, &v.y, &v.z, &v.w, &ulps);
         if (ret < 8)
             goto err;
         if (ret < 9)




More information about the wine-cvs mailing list