SPIR-V Built-In

IndexCountHUAWEI

cluster culling shader output variable
IndexCountHUAWEI

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

Valid Usage

VUID-IndexCountHUAWEI-IndexCountHUAWEI-07805

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

VUID-IndexCountHUAWEI-IndexCountHUAWEI-07806

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