D3D10_SHADER_DEBUG_INFO structure (d3d10_1shader.h)

Describes the format of the ID3D10Blob Interface returned by D3D10GetShaderDebugInfo.

Syntax

typedef struct _D3D10_SHADER_DEBUG_INFO {
  UINT Size;
  UINT Creator;
  UINT EntrypointName;
  UINT ShaderTarget;
  UINT CompileFlags;
  UINT Files;
  UINT FileInfo;
  UINT Instructions;
  UINT InstructionInfo;
  UINT Variables;
  UINT VariableInfo;
  UINT InputVariables;
  UINT InputVariableInfo;
  UINT Tokens;
  UINT TokenInfo;
  UINT Scopes;
  UINT ScopeInfo;
  UINT ScopeVariables;
  UINT ScopeVariableInfo;
  UINT UintOffset;
  UINT StringOffset;
} D3D10_SHADER_DEBUG_INFO;

Members

Size

Type: UINT

Size of this structure.

Creator

Type: UINT

Offset to LPCSTR for compiler version.

EntrypointName

Type: UINT

Offset to LPCSTR for Entry point name.

ShaderTarget

Type: UINT

Offset to LPCSTR for shader target.

CompileFlags

Type: UINT

Flags used to compile.

Files

Type: UINT

Number of included files.

FileInfo

Type: UINT

Offset to array of D3D10_SHADER_DEBUG_FILE_INFO structures that has Files elements.

Instructions

Type: UINT

Number of instructions.

InstructionInfo

Type: UINT

Offset to array of D3D10_SHADER_DEBUG_INST_INFO structures that has Instructions elements.

Variables

Type: UINT

Number of variables.

VariableInfo

Type: UINT

Offset to array of D3D10_SHADER_DEBUG_VAR_INFO structures that has Variables elements.

InputVariables

Type: UINT

Number of variables to initialize before running.

InputVariableInfo

Type: UINT

Offset to array of D3D10_SHADER_DEBUG_INPUT_INFO structures that has InputVariables elements.

Tokens

Type: UINT

Number of tokens to initialize.

TokenInfo

Type: UINT

Offset to array of D3D10_SHADER_DEBUG_TOKEN_INFO structures that has Tokens elements.

Scopes

Type: UINT

Number of scopes.

ScopeInfo

Type: UINT

Offset to array of D3D10_SHADER_DEBUG_SCOPE_INFO structures that has Scopes elements.

ScopeVariables

Type: UINT

Number of variables declared.

ScopeVariableInfo

Type: UINT

Offset to array of D3D10_SHADER_DEBUG_SCOPEVAR_INFO structures that has Scopes elements.

UintOffset

Type: UINT

Offset to the UINT datastore, all UINT offsets are from this offset.

StringOffset

Type: UINT

Offset to the string datastore, all string offsets are from this offset.

Requirements

Requirement Value
Header d3d10_1shader.h (include D3D10Shader.h)

See also

Shader Structures