Matteo Bruni : d3dcompiler_43: Add dll directory.

Alexandre Julliard julliard at winehq.org
Mon Aug 2 11:03:55 CDT 2010


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

Author: Matteo Bruni <matteo.mystral at gmail.com>
Date:   Fri Jul 30 16:21:43 2010 +0200

d3dcompiler_43: Add dll directory.

---

 .gitignore                                |    1 +
 configure                                 |    1 +
 configure.ac                              |    1 +
 dlls/d3dcompiler_43/Makefile.in           |   13 ++++++++
 dlls/d3dcompiler_43/d3dcompiler_43.spec   |   17 +++++++++++
 dlls/d3dcompiler_43/d3dcompiler_43_main.c |   45 +++++++++++++++++++++++++++++
 dlls/d3dcompiler_43/version.rc            |   26 ++++++++++++++++
 7 files changed, 104 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index 78a693f..4e0346f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -68,6 +68,7 @@ dlls/kernel32/nls/winerr_ptb.mc.rc
 dlls/kernel32/nls/winerr_ptg.mc.rc
 dlls/kernel32/nls/winerr_rus.mc.rc
 dlls/kernel32/nls/winerr_ukr.mc.rc
+dlls/libd3dcompiler.def
 dlls/libd3dx9.def
 dlls/libkernel.def
 dlls/libwinspool.def
diff --git a/configure b/configure
index 6232cba..a5b8dd0 100755
--- a/configure
+++ b/configure
@@ -14429,6 +14429,7 @@ wine_fn_config_dll d3d8 enable_d3d8 d3d8
 wine_fn_config_test dlls/d3d8/tests d3d8_test
 wine_fn_config_dll d3d9 enable_d3d9 d3d9
 wine_fn_config_test dlls/d3d9/tests d3d9_test
+wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 d3dcompiler
 wine_fn_config_dll d3dim enable_d3dim d3dim
 wine_fn_config_dll d3drm enable_d3drm d3drm
 wine_fn_config_test dlls/d3drm/tests d3drm_test
diff --git a/configure.ac b/configure.ac
index b7ceb8d..bacba41 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2285,6 +2285,7 @@ WINE_CONFIG_DLL(d3d8,,[d3d8])
 WINE_CONFIG_TEST(dlls/d3d8/tests)
 WINE_CONFIG_DLL(d3d9,,[d3d9])
 WINE_CONFIG_TEST(dlls/d3d9/tests)
+WINE_CONFIG_DLL(d3dcompiler_43,,[d3dcompiler])
 WINE_CONFIG_DLL(d3dim,,[d3dim])
 WINE_CONFIG_DLL(d3drm,,[d3drm])
 WINE_CONFIG_TEST(dlls/d3drm/tests)
diff --git a/dlls/d3dcompiler_43/Makefile.in b/dlls/d3dcompiler_43/Makefile.in
new file mode 100644
index 0000000..2510af4
--- /dev/null
+++ b/dlls/d3dcompiler_43/Makefile.in
@@ -0,0 +1,13 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR    = @srcdir@
+VPATH     = @srcdir@
+MODULE    = d3dcompiler_43.dll
+IMPORTLIB = d3dcompiler
+
+C_SRCS = \
+	d3dcompiler_43_main.c
+
+RC_SRCS = version.rc
+
+ at MAKE_DLL_RULES@
diff --git a/dlls/d3dcompiler_43/d3dcompiler_43.spec b/dlls/d3dcompiler_43/d3dcompiler_43.spec
new file mode 100644
index 0000000..ab6e1d7
--- /dev/null
+++ b/dlls/d3dcompiler_43/d3dcompiler_43.spec
@@ -0,0 +1,17 @@
+@ stub D3DAssemble
+@ stub DebugSetMute
+@ stub D3DCompile
+@ stub D3DCompressShaders
+@ stub D3DCreateBlob
+@ stub D3DDecompressShaders
+@ stub D3DDisassemble10Effect
+@ stub D3DDisassemble
+@ stub D3DGetBlobPart
+@ stub D3DGetDebugInfo
+@ stub D3DGetInputAndOutputSignatureBlob
+@ stub D3DGetInputSignatureBlob
+@ stub D3DGetOutputSignatureBlob
+@ stub D3DPreprocess
+@ stub D3DReflect
+@ stub D3DReturnFailure1
+@ stub D3DStripShader
diff --git a/dlls/d3dcompiler_43/d3dcompiler_43_main.c b/dlls/d3dcompiler_43/d3dcompiler_43_main.c
new file mode 100644
index 0000000..cdf69b7
--- /dev/null
+++ b/dlls/d3dcompiler_43/d3dcompiler_43_main.c
@@ -0,0 +1,45 @@
+/*
+ * Direct3D shader compiler main file
+ *
+ * Copyright 2010 Matteo Bruni for CodeWeavers
+ *
+ * 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 <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(d3dcompiler);
+
+BOOL WINAPI DllMain(HINSTANCE inst, DWORD reason, LPVOID reserved)
+{
+    switch (reason)
+    {
+        case DLL_WINE_PREATTACH:
+            return FALSE; /* prefer native version */
+        case DLL_PROCESS_ATTACH:
+            DisableThreadLibraryCalls(inst);
+            break;
+        case DLL_PROCESS_DETACH:
+            break;
+    }
+    return TRUE;
+}
diff --git a/dlls/d3dcompiler_43/version.rc b/dlls/d3dcompiler_43/version.rc
new file mode 100644
index 0000000..5603735
--- /dev/null
+++ b/dlls/d3dcompiler_43/version.rc
@@ -0,0 +1,26 @@
+/*
+ * Copyright 2010 Matteo Bruni for CodeWeavers
+ *
+ * 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_43.dll"
+#define WINE_FILEVERSION 9,29,952,3111
+#define WINE_FILEVERSION_STR "9.29.952.3111"
+#define WINE_PRODUCTVERSION 9,29,952,3111
+#define WINE_PRODUCTVERSION_STR "9.29.952.3111"
+
+#include "wine/wine_common_ver.rc"




More information about the wine-cvs mailing list