D3D11_TRACE_REGISTER Structure

Describes a trace register.

Syntax

typedef struct D3D11_TRACE_REGISTER {
    D3D11_TRACE_REGISTER_TYPE RegType;
    union {
        UINT16 Index1D;
        UINT16 Index2D[2];
    };
    UINT8 OperandIndex;
    UINT8 Flags;
} D3D11_TRACE_REGISTER;  

Members

RegType
A D3D11_TRACE_REGISTER_TYPE-typed value that identifies the type of register that the shader-trace object uses.

Index1D
An index for one-dimensional arrays. This index is used by the following register types:

Index2D
An array of indexes for two-dimensional arrays. These indexes are used by the following register types:

OperandIndex
The index of the operand, which starts from 0.

Flags
A combination of the following flags that are combined by using a bitwise OR operation. The resulting value specifies more about the trace register.

Flag Description
D3D11_TRACE_REGISTER_FLAGS_RELATIVE_INDEXING (0x1) Access to the register is part of the relative indexing of a register.

Remarks

The following register types do not require an index:

Requirements

Header: Declared in d3d11shadertracing.h.

Library: Use d3d11.lib.