d3dcompiler: Add D3DLoadModule stub.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2016-05-02 09:32:17 +00:00 committed by Alexandre Julliard
parent 8bc6d0153c
commit 5fb90db781
3 changed files with 9 additions and 1 deletions

View File

@ -792,3 +792,9 @@ HRESULT WINAPI D3DCompileFromFile(const WCHAR *filename, const D3D_SHADER_MACRO
return E_NOTIMPL; 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;
}

View File

@ -17,7 +17,7 @@
@ stdcall D3DGetInputSignatureBlob(ptr long ptr) @ stdcall D3DGetInputSignatureBlob(ptr long ptr)
@ stdcall D3DGetOutputSignatureBlob(ptr long ptr) @ stdcall D3DGetOutputSignatureBlob(ptr long ptr)
@ stub D3DGetTraceInstructionOffsets @ stub D3DGetTraceInstructionOffsets
@ stub D3DLoadModule @ stdcall D3DLoadModule(ptr long ptr)
@ stdcall D3DPreprocess(ptr long str ptr ptr ptr ptr) @ stdcall D3DPreprocess(ptr long str ptr ptr ptr ptr)
@ stdcall D3DReadFileToBlob(wstr ptr) @ stdcall D3DReadFileToBlob(wstr ptr)
@ stdcall D3DReflect(ptr long ptr ptr) @ stdcall D3DReflect(ptr long ptr ptr)

View File

@ -120,6 +120,8 @@ typedef HRESULT (WINAPI *pD3DPreprocess)(const void *data, SIZE_T size, const ch
const D3D_SHADER_MACRO *defines, ID3DInclude *include, const D3D_SHADER_MACRO *defines, ID3DInclude *include,
ID3DBlob **shader, ID3DBlob **error_messages); ID3DBlob **shader, ID3DBlob **error_messages);
HRESULT WINAPI D3DLoadModule(const void *data, SIZE_T size, ID3D11Module **module);
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif