D3D12DDI_QUERY_DATA_PIPELINE_STATISTICS1-Struktur (d3d12umddi.h)

Die D3D12DDI_QUERY_DATA_PIPELINE_STATISTICS1-Struktur beschreibt Statistiken für jede Phase der Grafikpipeline, die in einem Aufruf der pfnBeginEndQuery-Funktion zum Erstellen eines D3D12_QUERY_TYPE_PIPELINE_STATISTICS1 Abfragetyps und in einem Aufruf von pfnResolveQueryData verwendet wird, um Informationen zur Abfrage zurückzugeben.

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;

Member

IAVertices

Die Anzahl der IA-Scheitelpunkte (Input Assembler).

IAPrimitives

Die Anzahl der IA-Grundtypen.

VSInvocations

Die Anzahl der Vertex-Shaderaufrufe (VS).

GSInvocations

Die Anzahl der Geometry-Shaderaufrufe (GS).

GSPrimitives

Die Anzahl der GS-Grundtypen.

CInvocations

Die Anzahl der Clipper-Aufrufe.

CPrimitives

Die Anzahl der Clippergrundtypen.

PSInvocations

Die Anzahl der Pixelshaderaufrufe (PS).

HSInvocations

Die Anzahl der HS-Aufrufe (Hull Shader).

DSInvocations

Die Anzahl der Domänenshaderaufrufe (DS).

CSInvocations

Die Anzahl der Compute-Shaderaufrufe (CS).

ASInvocations

Die Anzahl der As-Aufrufe (Amplification Shader).

MSInvocations

Die Anzahl der MS-Aufrufe (Mesh Shader).

MSPrimitives

Die Anzahl der vom MS ausgegebenen Grundtypen.

Hinweise

Der Treiber ordnet eine D3D12DDI_QUERY_DATA_PIPELINE_STATISTICS1-Struktur dem Wert des D3D12DDI_QUERY_TYPE_PIPELINE_STATISTICS1 Abfragetyps für die D3D12DDI_QUERY_TYPE- und D3D12DDI_QUERY_HEAP_TYPE-Enumerationen zu.

Anforderungen

Anforderung Wert
Unterstützte Mindestversion (Server) Windows Server 2022
Kopfzeile d3d12umddi.h

Weitere Informationen

D3D12DDI_QUERY_HEAP_TYPE

D3D12DDI_QUERY_TYPE

pfnBeginEndQuery

pfnResolveQueryData