SPIR-V Built-In

ClusterShadingRateHUAWEI

cluster culling shader output variable
ClusterShadingRateHUAWEI

The ClusterShadingRateHUAWEI decoration can be used to decorate a cluster culling shader output variable. This variable will contain an integer value specifying the shading rate of a rendering cluster.

Valid Usage

VUID-ClusterShadingRateHUAWEI-ClusterShadingRateHUAWEI-09448

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

VUID-ClusterShadingRateHUAWEI-ClusterShadingRateHUAWEI-09449

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