D3D11_COMPUTE_SHADER_TRACE_DESC Structure

Describes an instance of a compute shader to trace.

Syntax

typedef struct D3D11_COMPUTE_SHADER_TRACE_DESC {
    UINT64 Invocation;
    UINT ThreadIDInGroup[3];
    UINT ThreadGroupID[3];
} D3D11_COMPUTE_SHADER_TRACE_DESC;  

Members

Invocation
The invocation number of the instance of the compute shader.

ThreadIDInGroup
The SV_GroupThreadID to trace. This value identifies indexes of individual threads within a thread group that a compute shader executes in.

ThreadGroupID
The SV_GroupID to trace. This value identifies indexes of a thread group that the compute shader executes in.

Requirements

Header: Declared in d3d11shadertracing.h.

Library: Use d3d11.lib.