d3dcompiler: Add D3DGetBlobPart() stub.
This commit is contained in:
parent
fcd685977d
commit
033fd44aa1
|
@ -6,7 +6,7 @@
|
||||||
@ stub D3DDecompressShaders
|
@ stub D3DDecompressShaders
|
||||||
@ stub D3DDisassemble10Effect
|
@ stub D3DDisassemble10Effect
|
||||||
@ stub D3DDisassemble
|
@ stub D3DDisassemble
|
||||||
@ stub D3DGetBlobPart
|
@ stdcall D3DGetBlobPart(ptr long long long ptr)
|
||||||
@ stub D3DGetDebugInfo
|
@ stub D3DGetDebugInfo
|
||||||
@ stub D3DGetInputAndOutputSignatureBlob
|
@ stub D3DGetInputAndOutputSignatureBlob
|
||||||
@ stub D3DGetInputSignatureBlob
|
@ stub D3DGetInputSignatureBlob
|
||||||
|
|
|
@ -80,3 +80,10 @@ HRESULT WINAPI D3DCreateBlob(SIZE_T data_size, ID3DBlob **blob)
|
||||||
|
|
||||||
return S_OK;
|
return S_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
HRESULT WINAPI D3DGetBlobPart(const void *data, SIZE_T data_size, D3D_BLOB_PART part, UINT flags, ID3DBlob **blob)
|
||||||
|
{
|
||||||
|
FIXME("data %p, data_size %lu, part %#x, flags %#x, blob %p stub!\n", data, data_size, part, flags, blob);
|
||||||
|
|
||||||
|
return E_NOTIMPL;
|
||||||
|
}
|
||||||
|
|
|
@ -45,6 +45,24 @@ HRESULT WINAPI D3DCompile(const void *data, SIZE_T data_size, const char *filena
|
||||||
const D3D_SHADER_MACRO *defines, ID3DInclude *include, const char *entrypoint,
|
const D3D_SHADER_MACRO *defines, ID3DInclude *include, const char *entrypoint,
|
||||||
const char *target, UINT sflags, UINT eflags, ID3DBlob **shader, ID3DBlob **error_messages);
|
const char *target, UINT sflags, UINT eflags, ID3DBlob **shader, ID3DBlob **error_messages);
|
||||||
|
|
||||||
|
typedef enum D3D_BLOB_PART
|
||||||
|
{
|
||||||
|
D3D_BLOB_INPUT_SIGNATURE_BLOB,
|
||||||
|
D3D_BLOB_OUTPUT_SIGNATURE_BLOB,
|
||||||
|
D3D_BLOB_INPUT_AND_OUTPUT_SIGNATURE_BLOB,
|
||||||
|
D3D_BLOB_PATCH_CONSTANT_SIGNATURE_BLOB,
|
||||||
|
D3D_BLOB_ALL_SIGNATURE_BLOB,
|
||||||
|
D3D_BLOB_DEBUG_INFO,
|
||||||
|
D3D_BLOB_LEGACY_SHADER,
|
||||||
|
D3D_BLOB_XNA_PREPASS_SHADER,
|
||||||
|
D3D_BLOB_XNA_SHADER,
|
||||||
|
D3D_BLOB_TEST_ALTERNATE_SHADER = 0x8000,
|
||||||
|
D3D_BLOB_TEST_COMPILE_DETAILS,
|
||||||
|
D3D_BLOB_TEST_COMPILE_PERF
|
||||||
|
} D3D_BLOB_PART;
|
||||||
|
|
||||||
|
HRESULT WINAPI D3DGetBlobPart(const void *data, SIZE_T data_size, D3D_BLOB_PART part, UINT flags, ID3DBlob **blob);
|
||||||
|
|
||||||
HRESULT WINAPI D3DCreateBlob(SIZE_T data_size, ID3DBlob **blob);
|
HRESULT WINAPI D3DCreateBlob(SIZE_T data_size, ID3DBlob **blob);
|
||||||
|
|
||||||
HRESULT WINAPI D3DPreprocess(const void *data, SIZE_T size, const char *filename,
|
HRESULT WINAPI D3DPreprocess(const void *data, SIZE_T size, const char *filename,
|
||||||
|
|
Loading…
Reference in New Issue