D3D12DDI_QUERY_DATA_PIPELINE_STATISTICS1 structure (d3d12umddi.h)

The D3D12DDI_QUERY_DATA_PIPELINE_STATISTICS1 structure describes statistics for each stage of the graphics pipeline that is used in a call to the pfnBeginEndQuery function to create a D3D12_QUERY_TYPE_PIPELINE_STATISTICS1 query type, and in a call to pfnResolveQueryData to return information about the query.

Syntax

typedef struct D3D12DDI_QUERY_DATA_PIPELINE_STATISTICS1 {
  UINT64 IAVertices;
  UINT64 IAPrimitives;
  UINT64 VSInvocations;
  UINT64 GSInvocations;
  UINT64 GSPrimitives;
  UINT64 CInvocations;
  UINT64 CPrimitives;
  UINT64 PSInvocations;
  UINT64 HSInvocations;
  UINT64 DSInvocations;
  UINT64 CSInvocations;
  UINT64 ASInvocations;
  UINT64 MSInvocations;
  UINT64 MSPrimitives;
} D3D12DDI_QUERY_DATA_PIPELINE_STATISTICS1;

Members

IAVertices

The number of input assembler (IA) vertices.

IAPrimitives

The number of IA primitives.

VSInvocations

The number of vertex shader (VS) invocations.

GSInvocations

The number of geometry shader (GS) invocations.

GSPrimitives

The number of GS primitives.

CInvocations

The number of clipper invocations.

CPrimitives

The number of clipper primitives.

PSInvocations

The number of pixel shader (PS) invocations.

HSInvocations

The number of hull shader (HS) invocations.

DSInvocations

The number of domain shader (DS) invocations.

CSInvocations

The number of compute shader (CS) invocations.

ASInvocations

The number of amplification shader (AS) invocations.

MSInvocations

The number of mesh shader (MS) invocations.

MSPrimitives

The number of primitives output by the MS.

Remarks

The driver associates a D3D12DDI_QUERY_DATA_PIPELINE_STATISTICS1 structure with the D3D12DDI_QUERY_TYPE_PIPELINE_STATISTICS1 query type value for the D3D12DDI_QUERY_TYPE and D3D12DDI_QUERY_HEAP_TYPE enumerations.

Requirements

Requirement Value
Minimum supported server Windows Server 2022
Header d3d12umddi.h

See also

D3D12DDI_QUERY_HEAP_TYPE

D3D12DDI_QUERY_TYPE

pfnBeginEndQuery

pfnResolveQueryData