SPIR-V Built-In

FirstInstanceHUAWEI

cluster culling shader output variable
FirstInstanceHUAWEI

The FirstInstanceHUAWEI decoration can be used to decorate a cluster culling shader output variable,this variable will contain an integer value that specifies the instance ID of the first instance to draw.

Valid Usage

VUID-FirstInstanceHUAWEI-FirstInstanceHUAWEI-07801

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

VUID-FirstInstanceHUAWEI-FirstInstanceHUAWEI-07802

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