Alistair Leslie-Hughes : d3dcompiler: Add D3DLoadModule stub.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue May 3 11:15:35 CDT 2016
Module: wine
Branch: master
Commit: 5fb90db781cf5a0534716d57e186fe03fbb58169
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5fb90db781cf5a0534716d57e186fe03fbb58169
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Mon May 2 09:32:17 2016 +0000
d3dcompiler: Add D3DLoadModule stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/d3dcompiler_43/compiler.c | 6 ++++++
dlls/d3dcompiler_47/d3dcompiler_47.spec | 2 +-
include/d3dcompiler.h | 2 ++
3 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/dlls/d3dcompiler_43/compiler.c b/dlls/d3dcompiler_43/compiler.c
index 17e58fe..36e793e 100644
--- a/dlls/d3dcompiler_43/compiler.c
+++ b/dlls/d3dcompiler_43/compiler.c
@@ -792,3 +792,9 @@ HRESULT WINAPI D3DCompileFromFile(const WCHAR *filename, const D3D_SHADER_MACRO
return E_NOTIMPL;
}
+
+HRESULT WINAPI D3DLoadModule(const void *data, SIZE_T size, ID3D11Module **module)
+{
+ FIXME("data %p, size %lu, module %p stub!\n", data, size, module);
+ return E_NOTIMPL;
+}
diff --git a/dlls/d3dcompiler_47/d3dcompiler_47.spec b/dlls/d3dcompiler_47/d3dcompiler_47.spec
index 9b2cb7d..05bc793 100644
--- a/dlls/d3dcompiler_47/d3dcompiler_47.spec
+++ b/dlls/d3dcompiler_47/d3dcompiler_47.spec
@@ -17,7 +17,7 @@
@ stdcall D3DGetInputSignatureBlob(ptr long ptr)
@ stdcall D3DGetOutputSignatureBlob(ptr long ptr)
@ stub D3DGetTraceInstructionOffsets
-@ stub D3DLoadModule
+@ stdcall D3DLoadModule(ptr long ptr)
@ stdcall D3DPreprocess(ptr long str ptr ptr ptr ptr)
@ stdcall D3DReadFileToBlob(wstr ptr)
@ stdcall D3DReflect(ptr long ptr ptr)
diff --git a/include/d3dcompiler.h b/include/d3dcompiler.h
index 3f1fdb3..5d60792 100644
--- a/include/d3dcompiler.h
+++ b/include/d3dcompiler.h
@@ -120,6 +120,8 @@ typedef HRESULT (WINAPI *pD3DPreprocess)(const void *data, SIZE_T size, const ch
const D3D_SHADER_MACRO *defines, ID3DInclude *include,
ID3DBlob **shader, ID3DBlob **error_messages);
+HRESULT WINAPI D3DLoadModule(const void *data, SIZE_T size, ID3D11Module **module);
+
#ifdef __cplusplus
}
#endif
More information about the wine-cvs
mailing list