Module: wine Branch: master Commit: 6b58d34a625ffaad181a7316009398f3c6444181 URL: https://source.winehq.org/git/wine.git/?a=commit;h=6b58d34a625ffaad181a73160...
Author: Matteo Bruni mbruni@codeweavers.com Date: Wed Aug 11 19:18:57 2021 +0200
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
---
dlls/d3dcompiler_43/tests/hlsl_d3d9.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/d3dcompiler_43/tests/hlsl_d3d9.c b/dlls/d3dcompiler_43/tests/hlsl_d3d9.c index 87f63023c58..03ded640e8f 100644 --- a/dlls/d3dcompiler_43/tests/hlsl_d3d9.c +++ b/dlls/d3dcompiler_43/tests/hlsl_d3d9.c @@ -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);