Sven Baars : d3dcompiler/tests: Fix some d3dcompiler_47 test failures on Windows 8.
Alexandre Julliard
julliard at winehq.org
Thu Nov 14 15:51:28 CST 2019
Module: wine
Branch: master
Commit: a63a98c3884fa4d9b299450634d6aea25c3ad48b
URL: https://source.winehq.org/git/wine.git/?a=commit;h=a63a98c3884fa4d9b299450634d6aea25c3ad48b
Author: Sven Baars <sven.wine at gmail.com>
Date: Thu Nov 14 10:56:07 2019 +0100
d3dcompiler/tests: Fix some d3dcompiler_47 test failures on Windows 8.
Signed-off-by: Sven Baars <sven.wine at gmail.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d3dcompiler_43/tests/reflection.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/d3dcompiler_43/tests/reflection.c b/dlls/d3dcompiler_43/tests/reflection.c
index ca7aa7760f..810eac8936 100644
--- a/dlls/d3dcompiler_43/tests/reflection.c
+++ b/dlls/d3dcompiler_43/tests/reflection.c
@@ -118,10 +118,12 @@ static void test_reflection_references(void)
expected = E_NOINTERFACE;
#endif
hr = pD3DReflect(test_reflection_blob, test_reflection_blob[6], &IID_ID3D10ShaderReflection, (void **)&ref10);
- ok(hr == expected, "D3DReflect failed, got %x, expected %x\n", hr, expected);
+ ok(hr == expected || broken(hr == E_NOINTERFACE) /* Windows 8 */,
+ "D3DReflect failed, got %x, expected %x\n", hr, expected);
hr = pD3DReflect(test_reflection_blob, test_reflection_blob[6], &IID_ID3D10ShaderReflection1, (void **)&ref10_1);
- ok(hr == expected, "D3DReflect failed, got %x, expected %x\n", hr, expected);
+ ok(hr == expected || broken(hr == E_NOINTERFACE) /* Windows 8 */,
+ "D3DReflect failed, got %x, expected %x\n", hr, expected);
hr = pD3DReflect(NULL, test_reflection_blob[6], &IID_ID3D10ShaderReflection1, (void **)&ref10_1);
ok(hr == D3DERR_INVALIDCALL, "D3DReflect failed, got %x, expected %x\n", hr, D3DERR_INVALIDCALL);
More information about the wine-cvs
mailing list