d3d10: Implement D3D10DisassembleShader().
This commit is contained in:
parent
8e2fd3a9be
commit
cb876cdb97
|
@ -7,7 +7,7 @@
|
|||
@ stub D3D10CreateEffectPoolFromMemory
|
||||
@ stdcall D3D10CreateStateBlock(ptr ptr ptr)
|
||||
@ stub D3D10DisassembleEffect
|
||||
@ stub D3D10DisassembleShader
|
||||
@ stdcall D3D10DisassembleShader(ptr long long ptr ptr)
|
||||
@ stdcall D3D10GetGeometryShaderProfile(ptr)
|
||||
@ stdcall D3D10GetInputAndOutputSignatureBlob(ptr long ptr) d3dcompiler_43.D3DGetInputAndOutputSignatureBlob
|
||||
@ stdcall D3D10GetInputSignatureBlob(ptr long ptr) d3dcompiler_43.D3DGetInputSignatureBlob
|
||||
|
|
|
@ -147,3 +147,12 @@ HRESULT WINAPI D3D10CompileShader(const char *data, SIZE_T data_size, const char
|
|||
return D3DCompile(data, data_size, filename, defines, include,
|
||||
entrypoint, profile, flags, 0, shader, error_messages);
|
||||
}
|
||||
|
||||
HRESULT WINAPI D3D10DisassembleShader(const void *data, SIZE_T data_size,
|
||||
BOOL color_code, const char *comments, ID3D10Blob **disassembly)
|
||||
{
|
||||
TRACE("data %p, data_size %#lx, color_code %#x, comments %p, disassembly %p.\n",
|
||||
data, data_size, color_code, comments, disassembly);
|
||||
|
||||
return D3DDisassemble(data, data_size, color_code ? D3D_DISASM_ENABLE_COLOR_CODE : 0, comments, disassembly);
|
||||
}
|
||||
|
|
|
@ -214,6 +214,8 @@ extern "C" {
|
|||
HRESULT WINAPI D3D10CompileShader(LPCSTR data, SIZE_T data_size, LPCSTR filename,
|
||||
const D3D10_SHADER_MACRO *defines, ID3D10Include *include, LPCSTR entrypoint,
|
||||
LPCSTR profile, UINT flags, ID3D10Blob **shader, ID3D10Blob **error_messages);
|
||||
HRESULT WINAPI D3D10DisassembleShader(const void *data, SIZE_T data_size,
|
||||
BOOL color_code, const char *comments, ID3D10Blob **disassembly);
|
||||
LPCSTR WINAPI D3D10GetVertexShaderProfile(ID3D10Device *device);
|
||||
LPCSTR WINAPI D3D10GetGeometryShaderProfile(ID3D10Device *device);
|
||||
LPCSTR WINAPI D3D10GetPixelShaderProfile(ID3D10Device *device);
|
||||
|
|
Loading…
Reference in New Issue