typedef enum D3D11X_THREAD_TRACE_TOKEN_MASK
{
D3D11X_THREAD_TRACE_TOKEN_MASK_MISC = 0x0001,
D3D11X_THREAD_TRACE_TOKEN_MASK_TIMESTAMP = 0x0002,
D3D11X_THREAD_TRACE_TOKEN_MASK_REG = 0x0004,
D3D11X_THREAD_TRACE_TOKEN_MASK_WAVE_START = 0x0008,
D3D11X_THREAD_TRACE_TOKEN_MASK_WAVE_ALLOC = 0x0010,
D3D11X_THREAD_TRACE_TOKEN_MASK_REG_CSPRIV = 0x0020,
D3D11X_THREAD_TRACE_TOKEN_MASK_WAVE_END = 0x0040,
D3D11X_THREAD_TRACE_TOKEN_MASK_EVENT = 0x0080,
D3D11X_THREAD_TRACE_TOKEN_MASK_EVENT_CS = 0x0100,
D3D11X_THREAD_TRACE_TOKEN_MASK_EVENT_GFX1 = 0x0200,
D3D11X_THREAD_TRACE_TOKEN_MASK_INST = 0x0400,
D3D11X_THREAD_TRACE_TOKEN_MASK_INST_PC = 0x0800,
D3D11X_THREAD_TRACE_TOKEN_MASK_INST_USERDATA = 0x1000,
D3D11X_THREAD_TRACE_TOKEN_MASK_ISSUE = 0x2000,
D3D11X_THREAD_TRACE_TOKEN_MASK_PERF = 0x4000,
D3D11X_THREAD_TRACE_TOKEN_MASK_REG_CS = 0x8000,
D3D11X_THREAD_TRACE_TOKEN_MASK_ALL = 0xFFFF
} D3D11X_THREAD_TRACE_TOKEN_MASK;
| Constant | Description |
|---|---|
| D3D11X_THREAD_TRACE_TOKEN_MASK_MISC | Miscellaneous 16-bit token. Use MISC encoding. |
| D3D11X_THREAD_TRACE_TOKEN_MASK_TIMESTAMP | Resync the timestamp. Use TIMESTAMP encoding. |
| D3D11X_THREAD_TRACE_TOKEN_MASK_REG | Register write. Use REG encoding. |
| D3D11X_THREAD_TRACE_TOKEN_MASK_WAVE_START | Wave has started. Use WAVE_START encoding. |
| D3D11X_THREAD_TRACE_TOKEN_MASK_WAVE_ALLOC | Pixel shader color or vertex shader parameter output space has been allocated. Use WAVE encoding. Detail token: target compute unit only. |
| D3D11X_THREAD_TRACE_TOKEN_MASK_REG_CSPRIV | There has been a compute pipeline private dat, state or threadgroup update. Use REG_CS encoding. |
| D3D11X_THREAD_TRACE_TOKEN_MASK_WAVE_END | Wave has completed. Use WAVE encoding. |
| D3D11X_THREAD_TRACE_TOKEN_MASK_EVENT | An event has reached the top of a shader stage. In-order with WAVE_START. Use EVENT encoding. |
| D3D11X_THREAD_TRACE_TOKEN_MASK_EVENT_CS | An event has reached the top of a computer shader stage. In-order with WAVE_START. Use EVENT encoding. |
| D3D11X_THREAD_TRACE_TOKEN_MASK_EVENT_GFX1 | An event has reached the top of a shader stage for the second gfx pipe. In-order with WAVE_START. Use EVENT_DONE encoding. |
| D3D11X_THREAD_TRACE_TOKEN_MASK_INST | The shader has executed an instruction. Use INST encoding. Detail token: target compute unit only. |
| D3D11X_THREAD_TRACE_TOKEN_MASK_INST_PC | The shader has explicitly written the PC value. Use INST_PC encoding. Detail token: target compute unit only. |
| D3D11X_THREAD_TRACE_TOKEN_MASK_INST_USERDATA | The shader has written some userdata into the thread trace buffer. Use INST_USERDATA encoding. |
| D3D11X_THREAD_TRACE_TOKEN_MASK_ISSUE | Information about instruction scheduling. Use ISSUE encoding. Detail token: target compute unit only. |
| D3D11X_THREAD_TRACE_TOKEN_MASK_PERF | The performance counter delta has been updated. PERF encoding. |
| D3D11X_THREAD_TRACE_TOKEN_MASK_REG_CS | There has been a compute pipeline state update. Use REG_CS encoding. |
| D3D11X_THREAD_TRACE_TOKEN_MASK_ALL | All (no mask). |
Header: Declared in d3d11_x.h.