Skip to content

Latest commit

 

History

History
135 lines (108 loc) · 3.44 KB

nf-d3dcompiler-d3ddisassemble.md

File metadata and controls

135 lines (108 loc) · 3.44 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:d3dcompiler.D3DDisassemble
D3DDisassemble function (d3dcompiler.h)
Disassembles compiled HLSL code.
102070a9-01bc-45ad-cbcb-2ef04db4d6e7
D3DDisassemble
D3DDisassemble function [HLSL]
d3dcompiler/D3DDisassemble
direct3dhlsl.d3ddisassemble
direct3dhlsl\d3ddisassemble.htm
direct3dhlsl
VS|directx_sdk|~\d3ddisassemble.htm
12/05/2018
102070a9-01bc-45ad-cbcb-2ef04db4d6e7, D3DDisassemble, D3DDisassemble function [HLSL], d3dcompiler/D3DDisassemble, direct3dhlsl.d3ddisassemble
d3dcompiler.h
Windows
D3dcompiler_47.lib
D3dcompiler_47.dll
Windows
19H1
D3DDisassemble
d3dcompiler/D3DDisassemble
c++
APIRef
kbSyntax
DllExport
d3dcompiler_47.dll
D3DDisassemble

D3DDisassemble function

-description

Disassembles compiled HLSL code.

-parameters

-param pSrcData [in]

Type: LPCVOID

A pointer to source data as compiled HLSL code.

-param SrcDataSize [in]

Type: SIZE_T

Length of pSrcData.

-param Flags [in]

Type: UINT

Flags affecting the behavior of D3DDisassemble. Flags can be a combination of zero or more of the following values.

Flag Description
D3D_DISASM_ENABLE_COLOR_CODE Enable the output of color codes.
D3D_DISASM_ENABLE_DEFAULT_VALUE_PRINTS Enable the output of default values.
D3D_DISASM_ENABLE_INSTRUCTION_NUMBERING Enable instruction numbering.
D3D_DISASM_ENABLE_INSTRUCTION_CYCLE No effect.
D3D_DISASM_DISABLE_DEBUG_INFO Disable debug information.
D3D_DISASM_ENABLE_INSTRUCTION_OFFSET Enable instruction offsets.
D3D_DISASM_INSTRUCTION_ONLY Disassemble instructions only.
D3D_DISASM_PRINT_HEX_LITERALS Use hex symbols in disassemblies.

-param szComments [in, optional]

Type: LPCSTR

The comment string at the top of the shader that identifies the shader constants and variables.

-param ppDisassembly [out]

Type: ID3DBlob**

A pointer to a buffer that receives the ID3DBlob interface that accesses assembly text.

-returns

Type: HRESULT

Returns one of the Direct3D 11 return codes.

-see-also

Functions