Retrieves information about a register that was read by a step in the trace.
public:
HRESULT GetReadRegister(
UINT stepIndex,
UINT readRegisterIndex,
D3D11_TRACE_REGISTER *pRegister,
D3D11_TRACE_VALUE *pValue
)
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.
readRegisterIndex
Type: UINT
[in] The index of the register within the trace step. The range of the index is [0…NumRegistersRead-1], where NumRegistersRead is a member of the D3D11_TRACE_STEP structure.
pRegister
Type: D3D11_TRACE_REGISTER *
[out] A pointer to a D3D11_TRACE_REGISTER structure. GetReadRegister fills the members of this structure with information about the register that was read by the step in the trace.
pValue
Type: D3D11_TRACE_VALUE *
[out] A pointer to a D3D11_TRACE_VALUE structure. GetReadRegister fills the members of this structure with information about the value that was read from the register.
Type: HRESULT
GetReadRegister returns:
Header: Declared in d3d11shadertracing.h.
Library: Use d3d11.lib.