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

Signed-off-by: Chip Davis <cdavis@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Chip Davis 2021-08-15 13:37:15 -05:00 committed by Alexandre Julliard
parent 3dfe0e1710
commit 34edc44b6f

View File

@ -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)