Matteo Bruni : d3dcompiler: Actually define the correct ID3D11ShaderReflection GUIDs.

Alexandre Julliard julliard at winehq.org
Mon Feb 4 13:29:54 CST 2019


Module: wine
Branch: master
Commit: 293e2b55ad3949dd81ea3b63603339bb5fc5ad06
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=293e2b55ad3949dd81ea3b63603339bb5fc5ad06

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Wed Jan 30 16:26:03 2019 +0100

d3dcompiler: Actually define the correct ID3D11ShaderReflection GUIDs.

Spotted by Andrey Gusev.

Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/d3dcompiler_43/reflection.c      | 1 +
 dlls/d3dcompiler_43/tests/Makefile.in | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dlls/d3dcompiler_43/reflection.c b/dlls/d3dcompiler_43/reflection.c
index b36631b..d10d0b1 100644
--- a/dlls/d3dcompiler_43/reflection.c
+++ b/dlls/d3dcompiler_43/reflection.c
@@ -21,6 +21,7 @@
 #include "config.h"
 #include "wine/port.h"
 
+#include "initguid.h"
 #include "d3dcompiler_private.h"
 
 WINE_DEFAULT_DEBUG_CHANNEL(d3dcompiler);
diff --git a/dlls/d3dcompiler_43/tests/Makefile.in b/dlls/d3dcompiler_43/tests/Makefile.in
index 55b14ad..3b4b7a5 100644
--- a/dlls/d3dcompiler_43/tests/Makefile.in
+++ b/dlls/d3dcompiler_43/tests/Makefile.in
@@ -1,5 +1,6 @@
 TESTDLL   = d3dcompiler_43.dll
 IMPORTS   = d3d9 d3dx9 user32
+EXTRADEFS = -DD3D_COMPILER_VERSION=43
 
 C_SRCS = \
 	asm.c \




More information about the wine-cvs mailing list