SPIR-V Built-In

VertexCountHUAWEI

cluster culling shader output variable
VertexCountHUAWEI

The VertexCountHUAWEI decoration can be used to decorate a cluster culling shader output variable,this non-indexed mode specific variable will contain an integer value that specifies the number of vertices in a cluster to draw.

Valid Usage

VUID-VertexCountHUAWEI-VertexCountHUAWEI-07809

The VertexCountHUAWEI decoration must be used only within the ClusterCullingHUAWEI Execution Model

VUID-VertexCountHUAWEI-VertexCountHUAWEI-07810

The variable decorated with VertexCountHUAWEI must be declared as a scalar 32-bit integer value