d3dcompiler: Add D3DReadFileToBlob, D3DWriteBlobToFile stubs.
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
61202a68b2
commit
26094c5634
|
@ -463,3 +463,17 @@ HRESULT WINAPI D3DStripShader(const void *data, SIZE_T data_size, UINT flags, ID
|
|||
|
||||
return d3dcompiler_strip_shader(data, data_size, flags, blob);
|
||||
}
|
||||
|
||||
HRESULT WINAPI D3DReadFileToBlob(const WCHAR *filename, ID3DBlob **contents)
|
||||
{
|
||||
FIXME("filename %s, contents %p\n", debugstr_w(filename), contents);
|
||||
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
||||
HRESULT WINAPI D3DWriteBlobToFile(ID3DBlob* blob, const WCHAR *filename, BOOL overwrite)
|
||||
{
|
||||
FIXME("blob %p, filename %s, overwrite %d\n", blob, debugstr_w(filename), overwrite);
|
||||
|
||||
return E_NOTIMPL;
|
||||
}
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
@ stdcall D3DGetOutputSignatureBlob(ptr long ptr)
|
||||
@ stub D3DGetTraceInstructionOffsets
|
||||
@ stdcall D3DPreprocess(ptr long str ptr ptr ptr ptr)
|
||||
@ stub D3DReadFileToBlob
|
||||
@ stdcall D3DReadFileToBlob(wstr ptr)
|
||||
@ stdcall D3DReflect(ptr long ptr ptr)
|
||||
@ stub D3DReturnFailure1
|
||||
@ stub D3DSetBlobPart
|
||||
@ stdcall D3DStripShader(ptr long long ptr)
|
||||
@ stub D3DWriteBlobToFile
|
||||
@ stdcall D3DWriteBlobToFile(ptr wstr long)
|
||||
@ stub DebugSetMute
|
||||
|
|
|
@ -19,11 +19,11 @@
|
|||
@ stub D3DGetTraceInstructionOffsets
|
||||
@ stub D3DLoadModule
|
||||
@ stdcall D3DPreprocess(ptr long str ptr ptr ptr ptr)
|
||||
@ stub D3DReadFileToBlob
|
||||
@ stdcall D3DReadFileToBlob(wstr ptr)
|
||||
@ stdcall D3DReflect(ptr long ptr ptr)
|
||||
@ stub D3DReflectLibrary
|
||||
@ stub D3DReturnFailure1
|
||||
@ stub D3DSetBlobPart
|
||||
@ stdcall D3DStripShader(ptr long long ptr)
|
||||
@ stub D3DWriteBlobToFile
|
||||
@ stdcall D3DWriteBlobToFile(ptr wstr long)
|
||||
@ stub DebugSetMute
|
||||
|
|
|
@ -107,7 +107,8 @@ HRESULT WINAPI D3DGetInputSignatureBlob(const void *data, SIZE_T data_size, ID3D
|
|||
HRESULT WINAPI D3DGetOutputSignatureBlob(const void *data, SIZE_T data_size, ID3DBlob **blob);
|
||||
HRESULT WINAPI D3DGetInputAndOutputSignatureBlob(const void *data, SIZE_T data_size, ID3DBlob **blob);
|
||||
HRESULT WINAPI D3DGetDebugInfo(const void *data, SIZE_T data_size, ID3DBlob **blob);
|
||||
|
||||
HRESULT WINAPI D3DReadFileToBlob(const WCHAR *filename, ID3DBlob **contents);
|
||||
HRESULT WINAPI D3DWriteBlobToFile(ID3DBlob *blob, const WCHAR *filename, BOOL overwrite);
|
||||
HRESULT WINAPI D3DReflect(const void *data, SIZE_T data_size, REFIID riid, void **reflector);
|
||||
|
||||
HRESULT WINAPI D3DCreateBlob(SIZE_T data_size, ID3DBlob **blob);
|
||||
|
|
Loading…
Reference in New Issue