d3dx11: Add D3DX11CompileFromFileA/W 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:
parent
2d16a9d01a
commit
2bee102353
|
@ -1,6 +1,6 @@
|
||||||
@ stdcall D3DX11CheckVersion(long long)
|
@ stdcall D3DX11CheckVersion(long long)
|
||||||
@ stub D3DX11CompileFromFileA
|
@ stdcall D3DX11CompileFromFileA(str ptr ptr str str long long ptr ptr ptr ptr)
|
||||||
@ stub D3DX11CompileFromFileW
|
@ stdcall D3DX11CompileFromFileW(wstr ptr ptr str str long long ptr ptr ptr ptr)
|
||||||
@ stdcall D3DX11CompileFromMemory(str long str ptr ptr str str long long ptr ptr ptr ptr)
|
@ stdcall D3DX11CompileFromMemory(str long str ptr ptr str str long long ptr ptr ptr ptr)
|
||||||
@ stub D3DX11CompileFromResourceA
|
@ stub D3DX11CompileFromResourceA
|
||||||
@ stub D3DX11CompileFromResourceW
|
@ stub D3DX11CompileFromResourceW
|
||||||
|
|
|
@ -41,3 +41,27 @@ HRESULT WINAPI D3DX11CompileFromMemory(const char *data, SIZE_T data_size, const
|
||||||
return D3DCompile(data, data_size, filename, defines, include, entry_point, target,
|
return D3DCompile(data, data_size, filename, defines, include, entry_point, target,
|
||||||
sflags, eflags, shader, error_messages);
|
sflags, eflags, shader, error_messages);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HRESULT WINAPI D3DX11CompileFromFileA(const char *filename, const D3D10_SHADER_MACRO *defines,
|
||||||
|
ID3D10Include *include, const char *entry_point, const char *target, UINT sflags, UINT eflags,
|
||||||
|
ID3DX11ThreadPump *pump, ID3D10Blob **shader, ID3D10Blob **error_messages, HRESULT *hresult)
|
||||||
|
{
|
||||||
|
FIXME("filename %s, defines %p, include %p, entry_point %s, target %s, sflags %#x, "
|
||||||
|
"eflags %#x, pump %p, shader %p, error_messages %p, hresult %p stub.\n",
|
||||||
|
debugstr_a(filename), defines, include, debugstr_a(entry_point), debugstr_a(target),
|
||||||
|
sflags, eflags, pump, shader, error_messages, hresult);
|
||||||
|
|
||||||
|
return E_NOTIMPL;
|
||||||
|
}
|
||||||
|
|
||||||
|
HRESULT WINAPI D3DX11CompileFromFileW(const WCHAR *filename, const D3D10_SHADER_MACRO *defines,
|
||||||
|
ID3D10Include *include, const char *entry_point, const char *target, UINT sflags, UINT eflags,
|
||||||
|
ID3DX11ThreadPump *pump, ID3D10Blob **shader, ID3D10Blob **error_messages, HRESULT *hresult)
|
||||||
|
{
|
||||||
|
FIXME("filename %s, defines %p, include %p, entry_point %s, target %s, sflags %#x, "
|
||||||
|
"eflags %#x, pump %p, shader %p, error_messages %p, hresult %p stub.\n",
|
||||||
|
debugstr_w(filename), defines, include, debugstr_a(entry_point), debugstr_a(target),
|
||||||
|
sflags, eflags, pump, shader, error_messages, hresult);
|
||||||
|
|
||||||
|
return E_NOTIMPL;
|
||||||
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
@ stdcall D3DX11CheckVersion(long long)
|
@ stdcall D3DX11CheckVersion(long long)
|
||||||
@ stub D3DX11CompileFromFileA
|
@ stdcall D3DX11CompileFromFileA(str ptr ptr str str long long ptr ptr ptr ptr)
|
||||||
@ stub D3DX11CompileFromFileW
|
@ stdcall D3DX11CompileFromFileW(wstr ptr ptr str str long long ptr ptr ptr ptr)
|
||||||
@ stdcall D3DX11CompileFromMemory(str long str ptr ptr str str long long ptr ptr ptr ptr)
|
@ stdcall D3DX11CompileFromMemory(str long str ptr ptr str str long long ptr ptr ptr ptr)
|
||||||
@ stub D3DX11CompileFromResourceA
|
@ stub D3DX11CompileFromResourceA
|
||||||
@ stub D3DX11CompileFromResourceW
|
@ stub D3DX11CompileFromResourceW
|
||||||
|
|
|
@ -30,6 +30,14 @@ HRESULT WINAPI D3DX11CompileFromMemory(const char *data, SIZE_T data_size, const
|
||||||
const char *target, UINT sflags, UINT eflags, ID3DX11ThreadPump *pump, ID3D10Blob **shader,
|
const char *target, UINT sflags, UINT eflags, ID3DX11ThreadPump *pump, ID3D10Blob **shader,
|
||||||
ID3D10Blob **error_messages, HRESULT *hresult);
|
ID3D10Blob **error_messages, HRESULT *hresult);
|
||||||
|
|
||||||
|
HRESULT WINAPI D3DX11CompileFromFileA(const char *filename, const D3D10_SHADER_MACRO *defines,
|
||||||
|
ID3D10Include *include, const char *entry_point, const char *target, UINT sflags, UINT eflags,
|
||||||
|
ID3DX11ThreadPump *pump, ID3D10Blob **shader, ID3D10Blob **error_messages, HRESULT *hresult);
|
||||||
|
|
||||||
|
HRESULT WINAPI D3DX11CompileFromFileW(const WCHAR *filename, const D3D10_SHADER_MACRO *defines,
|
||||||
|
ID3D10Include *include, const char *entry_point, const char *target, UINT sflags, UINT eflags,
|
||||||
|
ID3DX11ThreadPump *pump, ID3D10Blob **shader, ID3D10Blob **error_messages, HRESULT *hresult);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue