mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-02 11:53:38 +00:00
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=51304 Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
4b6819262c
commit
6b58d34a62
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue