ID3D11ShaderTrace::GetWrittenRegister Method

Retrieves information about a register that was written by a step in the trace.

Syntax

public:
HRESULT GetWrittenRegister(
         UINT stepIndex,
         UINT writtenRegisterIndex,
         D3D11_TRACE_REGISTER *pRegister,
         D3D11_TRACE_VALUE *pValue
)  

Parameters

stepIndex
Type: UINT 

[in] The index of the step within the trace. The range of the index is [0…NumTraceSteps-1], where NumTraceSteps is a member of the D3D11_TRACE_STATS structure. You can retrieve information in any step order.

writtenRegisterIndex
Type: UINT 

[in] The index of the register within the trace step. The range of the index is [0…NumRegistersWritten-1], where NumRegistersWritten is a member of the D3D11_TRACE_STEP structure.

pRegister
Type: D3D11_TRACE_REGISTER *

[out] A pointer to a D3D11_TRACE_REGISTER structure. GetWrittenRegister fills the members of this structure with information about the register that was written by the step in the trace.

pValue
Type: D3D11_TRACE_VALUE *

[out] A pointer to a D3D11_TRACE_VALUE structure. GetWrittenRegister fills the members of this structure with information about the value that was written to the register.

Return value

Type: HRESULT 

GetWrittenRegister returns:

Requirements

Header: Declared in d3d11shadertracing.h.

Library: Use d3d11.lib.

See also

ID3D11ShaderTrace

ID3D11ShaderTrace Members