Module: wine
Branch: master
Commit: 79c1bc42c00f42d85f0206b64d67af6870d4d89f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=79c1bc42c00f42d85f0206b64…
Author: Matteo Bruni <matteo.mystral(a)gmail.com>
Date: Tue Aug 3 18:44:25 2010 +0200
d3dcompiler_41: Stub dll.
---
configure | 1 +
configure.ac | 1 +
dlls/d3dcompiler_41/Makefile.in | 13 ++++++++
dlls/d3dcompiler_41/d3dcompiler_41.spec | 13 ++++++++
dlls/d3dcompiler_41/d3dcompiler_41_main.c | 44 +++++++++++++++++++++++++++++
dlls/d3dcompiler_41/version.rc | 27 +++++++++++++++++
6 files changed, 99 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 4f95d20..9b94f09 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_41 enable_d3dcompiler_41
wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 d3dcompiler
wine_fn_config_dll d3dim enable_d3dim d3dim
diff --git a/configure.ac b/configure.ac
index dd90186..30f04ac 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_41)
WINE_CONFIG_DLL(d3dcompiler_42)
WINE_CONFIG_DLL(d3dcompiler_43,,[d3dcompiler])
WINE_CONFIG_DLL(d3dim,,[d3dim])
diff --git a/dlls/d3dcompiler_41/Makefile.in b/dlls/d3dcompiler_41/Makefile.in
new file mode 100644
index 0000000..bbdd6af
--- /dev/null
+++ b/dlls/d3dcompiler_41/Makefile.in
@@ -0,0 +1,13 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR = @srcdir@
+VPATH = @srcdir@
+MODULE = d3dcompiler_41.dll
+IMPORTS = kernel32
+
+C_SRCS = \
+ d3dcompiler_41_main.c
+
+RC_SRCS = version.rc
+
+@MAKE_DLL_RULES@
diff --git a/dlls/d3dcompiler_41/d3dcompiler_41.spec b/dlls/d3dcompiler_41/d3dcompiler_41.spec
new file mode 100644
index 0000000..84adee3
--- /dev/null
+++ b/dlls/d3dcompiler_41/d3dcompiler_41.spec
@@ -0,0 +1,13 @@
+@ stdcall D3DAssemble(ptr long str ptr ptr long ptr ptr) d3dcompiler_43.D3DAssemble
+@ stub DebugSetMute
+@ stdcall D3DCompile(ptr long str ptr ptr str str long long ptr ptr) d3dcompiler_43.D3DCompile
+@ stdcall D3DDisassemble10Effect(ptr long ptr) d3dcompiler_43.D3DDisassemble10Effect
+@ stdcall D3DDisassemble(ptr long long ptr ptr) d3dcompiler_43.D3DDisassemble
+@ 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
+@ stdcall D3DPreprocess(ptr long str ptr ptr ptr ptr) d3dcompiler_43.D3DPreprocess
+@ stdcall D3DReflect(ptr long ptr ptr) d3dcompiler_43.D3DReflect
+@ stub D3DReturnFailure1
+@ stdcall D3DStripShader(ptr long long ptr) d3dcompiler_43.D3DStripShader
diff --git a/dlls/d3dcompiler_41/d3dcompiler_41_main.c b/dlls/d3dcompiler_41/d3dcompiler_41_main.c
new file mode 100644
index 0000000..c4745ee
--- /dev/null
+++ b/dlls/d3dcompiler_41/d3dcompiler_41_main.c
@@ -0,0 +1,44 @@
+/*
+ * 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 "wine/port.h"
+
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+{
+ switch (fdwReason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls(hinstDLL);
+ break;
+ case DLL_PROCESS_DETACH:
+ break;
+ }
+
+ return TRUE;
+}
diff --git a/dlls/d3dcompiler_41/version.rc b/dlls/d3dcompiler_41/version.rc
new file mode 100644
index 0000000..8e21730
--- /dev/null
+++ b/dlls/d3dcompiler_41/version.rc
@@ -0,0 +1,27 @@
+/*
+ * 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_41.dll"
+#define WINE_FILEVERSION 9,26,952,2844
+#define WINE_FILEVERSION_STR "9.26.952.2844"
+#define WINE_PRODUCTVERSION 9,26,952,2844
+#define WINE_PRODUCTVERSION_STR "9.26.952.2844"
+
+#include "wine/wine_common_ver.rc"
Module: wine
Branch: master
Commit: fe050706433f6fcd8ff09c735368c1ee7f57d2ef
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fe050706433f6fcd8ff09c735…
Author: Matteo Bruni <matteo.mystral(a)gmail.com>
Date: Tue Aug 3 18:44:25 2010 +0200
d3dcompiler_42: Stub dll.
---
configure | 1 +
configure.ac | 1 +
dlls/d3dcompiler_42/Makefile.in | 13 ++++++++
dlls/d3dcompiler_42/d3dcompiler_42.spec | 13 ++++++++
dlls/d3dcompiler_42/d3dcompiler_42_main.c | 44 +++++++++++++++++++++++++++++
dlls/d3dcompiler_42/version.rc | 27 +++++++++++++++++
6 files changed, 99 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index bc1196c..4f95d20 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_42 enable_d3dcompiler_42
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
diff --git a/configure.ac b/configure.ac
index b5430bd..dd90186 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_42)
WINE_CONFIG_DLL(d3dcompiler_43,,[d3dcompiler])
WINE_CONFIG_DLL(d3dim,,[d3dim])
WINE_CONFIG_DLL(d3drm,,[d3drm])
diff --git a/dlls/d3dcompiler_42/Makefile.in b/dlls/d3dcompiler_42/Makefile.in
new file mode 100644
index 0000000..5d0a4a2
--- /dev/null
+++ b/dlls/d3dcompiler_42/Makefile.in
@@ -0,0 +1,13 @@
+TOPSRCDIR = @top_srcdir@
+TOPOBJDIR = ../..
+SRCDIR = @srcdir@
+VPATH = @srcdir@
+MODULE = d3dcompiler_42.dll
+IMPORTS = kernel32
+
+C_SRCS = \
+ d3dcompiler_42_main.c
+
+RC_SRCS = version.rc
+
+@MAKE_DLL_RULES@
diff --git a/dlls/d3dcompiler_42/d3dcompiler_42.spec b/dlls/d3dcompiler_42/d3dcompiler_42.spec
new file mode 100644
index 0000000..84adee3
--- /dev/null
+++ b/dlls/d3dcompiler_42/d3dcompiler_42.spec
@@ -0,0 +1,13 @@
+@ stdcall D3DAssemble(ptr long str ptr ptr long ptr ptr) d3dcompiler_43.D3DAssemble
+@ stub DebugSetMute
+@ stdcall D3DCompile(ptr long str ptr ptr str str long long ptr ptr) d3dcompiler_43.D3DCompile
+@ stdcall D3DDisassemble10Effect(ptr long ptr) d3dcompiler_43.D3DDisassemble10Effect
+@ stdcall D3DDisassemble(ptr long long ptr ptr) d3dcompiler_43.D3DDisassemble
+@ 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
+@ stdcall D3DPreprocess(ptr long str ptr ptr ptr ptr) d3dcompiler_43.D3DPreprocess
+@ stdcall D3DReflect(ptr long ptr ptr) d3dcompiler_43.D3DReflect
+@ stub D3DReturnFailure1
+@ stdcall D3DStripShader(ptr long long ptr) d3dcompiler_43.D3DStripShader
diff --git a/dlls/d3dcompiler_42/d3dcompiler_42_main.c b/dlls/d3dcompiler_42/d3dcompiler_42_main.c
new file mode 100644
index 0000000..c4745ee
--- /dev/null
+++ b/dlls/d3dcompiler_42/d3dcompiler_42_main.c
@@ -0,0 +1,44 @@
+/*
+ * 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 "wine/port.h"
+
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+{
+ switch (fdwReason)
+ {
+ case DLL_WINE_PREATTACH:
+ return FALSE; /* prefer native version */
+ case DLL_PROCESS_ATTACH:
+ DisableThreadLibraryCalls(hinstDLL);
+ break;
+ case DLL_PROCESS_DETACH:
+ break;
+ }
+
+ return TRUE;
+}
diff --git a/dlls/d3dcompiler_42/version.rc b/dlls/d3dcompiler_42/version.rc
new file mode 100644
index 0000000..3ed7088
--- /dev/null
+++ b/dlls/d3dcompiler_42/version.rc
@@ -0,0 +1,27 @@
+/*
+ * 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_42.dll"
+#define WINE_FILEVERSION 9,27,952,3022
+#define WINE_FILEVERSION_STR "9.27.952.3022"
+#define WINE_PRODUCTVERSION 9,27,952,3022
+#define WINE_PRODUCTVERSION_STR "9.27.952.3022"
+
+#include "wine/wine_common_ver.rc"
Module: wine
Branch: master
Commit: 2d14335f6f1aaf493c357a403c3352916ba9f484
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2d14335f6f1aaf493c357a403…
Author: Matteo Bruni <matteo.mystral(a)gmail.com>
Date: Tue Aug 3 18:44:25 2010 +0200
include: Stub d3dcompiler.h, d3d11shader.h.
---
include/Makefile.in | 2 ++
include/d3d11shader.h | 24 ++++++++++++++++++++++++
include/d3dcompiler.h | 44 ++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 70 insertions(+), 0 deletions(-)
diff --git a/include/Makefile.in b/include/Makefile.in
index 153272d..e6215e3 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -156,6 +156,7 @@ SRCDIR_INCLUDES = \
d3d10effect.h \
d3d10misc.h \
d3d10shader.h \
+ d3d11shader.h \
d3d8.h \
d3d8caps.h \
d3d8types.h \
@@ -163,6 +164,7 @@ SRCDIR_INCLUDES = \
d3d9caps.h \
d3d9types.h \
d3dcaps.h \
+ d3dcompiler.h \
d3dhal.h \
d3drm.h \
d3drmdef.h \
diff --git a/include/d3d11shader.h b/include/d3d11shader.h
new file mode 100644
index 0000000..2ccb51a
--- /dev/null
+++ b/include/d3d11shader.h
@@ -0,0 +1,24 @@
+/*
+ * 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
+ */
+
+#ifndef __D3D11SHADER_H__
+#define __D3D11SHADER_H__
+
+#include "d3dcommon.h"
+
+#endif
diff --git a/include/d3dcompiler.h b/include/d3dcompiler.h
new file mode 100644
index 0000000..27ed290
--- /dev/null
+++ b/include/d3dcompiler.h
@@ -0,0 +1,44 @@
+/*
+ * 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
+ */
+
+#ifndef __D3DCOMPILER_H__
+#define __D3DCOMPILER_H__
+
+#include "d3d11shader.h"
+
+#define D3DCOMPILE_DEBUG 0x0001
+#define D3DCOMPILE_SKIP_VALIDATION 0x0002
+#define D3DCOMPILE_SKIP_OPTIMIZATION 0x0004
+#define D3DCOMPILE_PACK_MATRIX_ROW_MAJOR 0x0008
+#define D3DCOMPILE_PACK_MATRIX_COLUMN_MAJOR 0x0010
+#define D3DCOMPILE_PARTIAL_PRECISION 0x0020
+#define D3DCOMPILE_FORCE_VS_SOFTWARE_NO_OPT 0x0040
+#define D3DCOMPILE_FORCE_PS_SOFTWARE_NO_OPT 0x0080
+#define D3DCOMPILE_NO_PRESHADER 0x0100
+#define D3DCOMPILE_AVOID_FLOW_CONTROL 0x0200
+#define D3DCOMPILE_PREFER_FLOW_CONTROL 0x0400
+#define D3DCOMPILE_ENABLE_STRICTNESS 0x0800
+#define D3DCOMPILE_ENABLE_BACKWARDS_COMPATIBILITY 0x1000
+#define D3DCOMPILE_IEEE_STRICTNESS 0x2000
+#define D3DCOMPILE_OPTIMIZATION_LEVEL0 0x4000
+#define D3DCOMPILE_OPTIMIZATION_LEVEL1 0x0000
+#define D3DCOMPILE_OPTIMIZATION_LEVEL2 0xC000
+#define D3DCOMPILE_OPTIMIZATION_LEVEL3 0x8000
+#define D3DCOMPILE_WARNINGS_ARE_ERRORS 0x40000
+
+#endif