Matteo Bruni : d3dcompiler: D3DAssemble stub.

Alexandre Julliard julliard at winehq.org
Wed Aug 25 12:35:06 CDT 2010


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

Author: Matteo Bruni <matteo.mystral at gmail.com>
Date:   Tue Aug 17 19:22:59 2010 +0200

d3dcompiler: D3DAssemble stub.

---

 dlls/d3dcompiler_43/Makefile.in         |    1 +
 dlls/d3dcompiler_43/compiler.c          |   34 +++++++++++++++++++++++++++++++
 dlls/d3dcompiler_43/d3dcompiler_43.spec |    2 +-
 3 files changed, 36 insertions(+), 1 deletions(-)

diff --git a/dlls/d3dcompiler_43/Makefile.in b/dlls/d3dcompiler_43/Makefile.in
index 806cb08..3e6a7d6 100644
--- a/dlls/d3dcompiler_43/Makefile.in
+++ b/dlls/d3dcompiler_43/Makefile.in
@@ -8,6 +8,7 @@ IMPORTS   = dxguid uuid
 
 C_SRCS = \
 	blob.c \
+	compiler.c \
 	d3dcompiler_43_main.c
 
 RC_SRCS = version.rc
diff --git a/dlls/d3dcompiler_43/compiler.c b/dlls/d3dcompiler_43/compiler.c
new file mode 100644
index 0000000..edb2118
--- /dev/null
+++ b/dlls/d3dcompiler_43/compiler.c
@@ -0,0 +1,34 @@
+/*
+ * 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 "wine/debug.h"
+#include "wine/unicode.h"
+
+#include "d3dcompiler_private.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(d3dcompiler);
+
+HRESULT WINAPI D3DAssemble(LPCVOID data, SIZE_T datasize, LPCSTR filename,
+                           const D3D_SHADER_MACRO *defines, ID3DInclude *include,
+                           UINT flags,
+                           ID3DBlob **shader, ID3DBlob **error_messages){
+    FIXME("stub\n");
+    return D3DERR_INVALIDCALL;
+}
diff --git a/dlls/d3dcompiler_43/d3dcompiler_43.spec b/dlls/d3dcompiler_43/d3dcompiler_43.spec
index 13c13a6..e86acef 100644
--- a/dlls/d3dcompiler_43/d3dcompiler_43.spec
+++ b/dlls/d3dcompiler_43/d3dcompiler_43.spec
@@ -1,4 +1,4 @@
-@ stub D3DAssemble
+@ stdcall D3DAssemble(ptr long str ptr ptr long ptr ptr)
 @ stub DebugSetMute
 @ stub D3DCompile
 @ stub D3DCompressShaders




More information about the wine-cvs mailing list