Commit 6b58d34a authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

d3dcompiler/tests: Ignore z, w components in test_struct_semantics().

Only the first two components are explicitly set from the vertex attribute data. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51304Signed-off-by: 's avatarMatteo Bruni <mbruni@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 4b681926
......@@ -1001,9 +1001,11 @@ static void test_struct_semantics(void)
draw_quad(test_context.device, ps_code);
v = get_color_vec4(test_context.device, 64, 48);
v.z = v.w = 0.0f;
todo_wine ok(compare_vec4(&v, 0.1f, 0.1f, 0.0f, 0.0f, 4096),
"Got unexpected value {%.8e, %.8e, %.8e, %.8e}.\n", v.x, v.y, v.z, v.w);
v = get_color_vec4(test_context.device, 320, 240);
v.z = v.w = 0.0f;
todo_wine ok(compare_vec4(&v, 0.5f, 0.5f, 0.0f, 0.0f, 4096),
"Got unexpected value {%.8e, %.8e, %.8e, %.8e}.\n", v.x, v.y, v.z, v.w);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment