d3dcompiler_46/tests: Enable tests.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2021-09-01 12:12:50 -05:00 committed by Alexandre Julliard
parent 910a398b72
commit e44bd0e03f
5 changed files with 15 additions and 1 deletions

1
configure vendored
View File

@ -20363,6 +20363,7 @@ wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
wine_fn_config_makefile dlls/d3dim enable_d3dim

View File

@ -3062,6 +3062,7 @@ WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_42)
WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_43)
WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_43/tests)
WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_46)
WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_46/tests)
WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_47)
WINE_CONFIG_MAKEFILE(dlls/d3dcompiler_47/tests)
WINE_CONFIG_MAKEFILE(dlls/d3dim)

View File

@ -1726,7 +1726,7 @@ static void test_disassemble_shader(void)
hr = D3DDisassemble(vs_2_0, 0, 0, NULL, &blob);
todo_wine
#if D3D_COMPILER_VERSION == 47
#if D3D_COMPILER_VERSION >= 46
ok(hr == E_INVALIDARG, "Unexpected hr %#x.\n", hr);
#else
ok(hr == E_FAIL, "Unexpected hr %#x.\n", hr);

View File

@ -1,4 +1,5 @@
MODULE = d3dcompiler_46.dll
IMPORTLIB = d3dcompiler_46
IMPORTS = dxguid uuid
EXTRADEFS = -DD3D_COMPILER_VERSION=46
PARENTSRC = ../d3dcompiler_43

View File

@ -0,0 +1,11 @@
TESTDLL = d3dcompiler_46.dll
IMPORTS = d3d9 user32 d3dcompiler_46
EXTRADEFS = -DD3D_COMPILER_VERSION=46
PARENTSRC = ../../d3dcompiler_43/tests
C_SRCS = \
asm.c \
blob.c \
hlsl_d3d11.c \
hlsl_d3d9.c \
reflection.c