SPIR-V Built-In

FirstIndexHUAWEI

cluster culling shader output variable
FirstIndexHUAWEI

The FirstIndexHUAWEI 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 base index within the index buffer corresponding to a cluster.

Valid Usage

VUID-FirstIndexHUAWEI-FirstIndexHUAWEI-07799

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

VUID-FirstIndexHUAWEI-FirstIndexHUAWEI-07800

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