Alistair Leslie-Hughes : d3dcompiler_47: Add stub dll.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 22 07:44:59 CDT 2015


Module: wine
Branch: master
Commit: e70b50d7723d9770c4a056b72640fa5319ee0515
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e70b50d7723d9770c4a056b72640fa5319ee0515

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Tue Jun 16 11:01:53 2015 +1000

d3dcompiler_47: Add stub dll.

---

 configure                                 |  2 ++
 configure.ac                              |  1 +
 dlls/d3dcompiler_47/Makefile.in           |  6 +++++
 dlls/d3dcompiler_47/d3dcompiler_47.spec   | 29 +++++++++++++++++++++
 dlls/d3dcompiler_47/d3dcompiler_47_main.c | 42 +++++++++++++++++++++++++++++++
 dlls/d3dcompiler_47/version.rc            | 27 ++++++++++++++++++++
 tools/make_specfiles                      |  1 +
 7 files changed, 108 insertions(+)

diff --git a/configure b/configure
index 80648ff..33dd534 100755
--- a/configure
+++ b/configure
@@ -985,6 +985,7 @@ enable_d3dcompiler_41
 enable_d3dcompiler_42
 enable_d3dcompiler_43
 enable_d3dcompiler_46
+enable_d3dcompiler_47
 enable_d3dim
 enable_d3drm
 enable_d3dx10_33
@@ -17181,6 +17182,7 @@ wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
 wine_fn_config_test dlls/d3dcompiler_43/tests d3dcompiler_43_test
 wine_fn_config_dll d3dcompiler_46 enable_d3dcompiler_46
+wine_fn_config_dll d3dcompiler_47 enable_d3dcompiler_47
 wine_fn_config_dll d3dim enable_d3dim implib
 wine_fn_config_dll d3drm enable_d3drm implib
 wine_fn_config_test dlls/d3drm/tests d3drm_test
diff --git a/configure.ac b/configure.ac
index 22c12ac..f56b6f6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2857,6 +2857,7 @@ WINE_CONFIG_DLL(d3dcompiler_42)
 WINE_CONFIG_DLL(d3dcompiler_43,,[implib],[d3dcompiler])
 WINE_CONFIG_TEST(dlls/d3dcompiler_43/tests)
 WINE_CONFIG_DLL(d3dcompiler_46)
+WINE_CONFIG_DLL(d3dcompiler_47)
 WINE_CONFIG_DLL(d3dim,,[implib])
 WINE_CONFIG_DLL(d3drm,,[implib])
 WINE_CONFIG_TEST(dlls/d3drm/tests)
diff --git a/dlls/d3dcompiler_47/Makefile.in b/dlls/d3dcompiler_47/Makefile.in
new file mode 100644
index 0000000..9f6ef8f
--- /dev/null
+++ b/dlls/d3dcompiler_47/Makefile.in
@@ -0,0 +1,6 @@
+MODULE    = d3dcompiler_47.dll
+
+C_SRCS = \
+	d3dcompiler_47_main.c
+
+RC_SRCS = version.rc
diff --git a/dlls/d3dcompiler_47/d3dcompiler_47.spec b/dlls/d3dcompiler_47/d3dcompiler_47.spec
new file mode 100644
index 0000000..08bc418
--- /dev/null
+++ b/dlls/d3dcompiler_47/d3dcompiler_47.spec
@@ -0,0 +1,29 @@
+@ stdcall D3DAssemble(ptr long str ptr ptr long ptr ptr) d3dcompiler_43.D3DAssemble
+@ stdcall D3DCompile(ptr long str ptr ptr str str long long ptr ptr) d3dcompiler_43.D3DCompile
+@ stub D3DCompile2
+@ stub D3DCompileFromFile
+@ stub D3DCompressShaders
+@ stdcall D3DCreateBlob(long ptr) d3dcompiler_43.D3DCreateBlob
+@ stub D3DCreateFunctionLinkingGraph
+@ stub D3DCreateLinker
+@ stub D3DDecompressShaders
+@ stdcall D3DDisassemble(ptr long long ptr ptr) d3dcompiler_43.D3DDisassemble
+@ stdcall D3DDisassemble10Effect(ptr long ptr) d3dcompiler_43.D3DDisassemble10Effect
+@ stub D3DDisassemble11Trace
+@ stub D3DDisassembleRegion
+@ stdcall D3DGetBlobPart(ptr long long long ptr) d3dcompiler_43.D3DGetBlobPart
+@ stdcall D3DGetDebugInfo(ptr long ptr) d3dcompiler_43.D3DGetDebugInfo
+@ stdcall D3DGetInputAndOutputSignatureBlob(ptr long ptr) d3dcompiler_43.D3DGetInputAndOutputSignatureBlob
+@ stdcall D3DGetInputSignatureBlob(ptr long ptr) d3dcompiler_43.D3DGetInputSignatureBlob
+@ stdcall D3DGetOutputSignatureBlob(ptr long ptr) d3dcompiler_43.D3DGetOutputSignatureBlob
+@ stub D3DGetTraceInstructionOffsets
+@ stub D3DLoadModule
+@ stdcall D3DPreprocess(ptr long str ptr ptr ptr ptr) d3dcompiler_43.D3DPreprocess
+@ stub D3DReadFileToBlob
+@ stdcall D3DReflect(ptr long ptr ptr) d3dcompiler_43.D3DReflect
+@ stub D3DReflectLibrary
+@ stub D3DReturnFailure1
+@ stub D3DSetBlobPart
+@ stdcall D3DStripShader(ptr long long ptr) d3dcompiler_43.D3DStripShader
+@ stub D3DWriteBlobToFile
+@ stub DebugSetMute
diff --git a/dlls/d3dcompiler_47/d3dcompiler_47_main.c b/dlls/d3dcompiler_47/d3dcompiler_47_main.c
new file mode 100644
index 0000000..320a4e0
--- /dev/null
+++ b/dlls/d3dcompiler_47/d3dcompiler_47_main.c
@@ -0,0 +1,42 @@
+/*
+ * Direct3D shader compiler main file
+ *
+ * Copyright 2015 Alistair Leslie-Hughes
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ *
+ */
+
+#include "config.h"
+#include "wine/port.h"
+
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+
+BOOL WINAPI DllMain(HINSTANCE instdll, DWORD reason, void *reserved)
+{
+    switch (reason)
+    {
+        case DLL_WINE_PREATTACH:
+            return FALSE;    /* prefer native version */
+        case DLL_PROCESS_ATTACH:
+            DisableThreadLibraryCalls(instdll);
+            break;
+    }
+
+    return TRUE;
+}
diff --git a/dlls/d3dcompiler_47/version.rc b/dlls/d3dcompiler_47/version.rc
new file mode 100644
index 0000000..5d03d7e
--- /dev/null
+++ b/dlls/d3dcompiler_47/version.rc
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2015 Alistair Leslie-Hughes
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ *
+ */
+
+#define WINE_FILEDESCRIPTION_STR "Wine D3DCompiler"
+#define WINE_FILENAME_STR "d3dcompiler_47.dll"
+#define WINE_FILEVERSION 6,3,9600,16984
+#define WINE_FILEVERSION_STR "6.3.9600.16984"
+#define WINE_PRODUCTVERSION 6,3,9600,16984
+#define WINE_PRODUCTVERSION_STR "6.3.9600.16984"
+
+#include "wine/wine_common_ver.rc"
diff --git a/tools/make_specfiles b/tools/make_specfiles
index c61d9e6..e967e68 100755
--- a/tools/make_specfiles
+++ b/tools/make_specfiles
@@ -94,6 +94,7 @@ my @dll_groups =
  ],
  [
   "d3dcompiler_43",
+  "d3dcompiler_47",
   "d3dcompiler_46",
   "d3dcompiler_42",
   "d3dcompiler_41",




More information about the wine-cvs mailing list