CullPrimitiveEXT
CullPrimitiveEXT
Decorating a variable with the CullPrimitiveEXT
built-in decoration
will make that variable contain the culling state of output primitives.
If the per-primitive boolean value is true
, the primitive will be
culled, if it is false
it will not be culled.
Valid Usage
VUID-CullPrimitiveEXT-CullPrimitiveEXT-07034
The CullPrimitiveEXT
decoration must be used only within the
MeshEXT
Execution
Model
VUID-CullPrimitiveEXT-CullPrimitiveEXT-07035
The variable decorated with CullPrimitiveEXT
must be declared
using the Output
Storage
Class
VUID-CullPrimitiveEXT-CullPrimitiveEXT-07036
The variable decorated with CullPrimitiveEXT
must be declared as
an array of boolean values
VUID-CullPrimitiveEXT-CullPrimitiveEXT-07037
The size of the array decorated with CullPrimitiveEXT
must match
the value specified by OutputPrimitivesEXT
VUID-CullPrimitiveEXT-CullPrimitiveEXT-07038
The variable decorated with CullPrimitiveEXT
within the
MeshEXT
Execution
Model
must also be decorated with the
PerPrimitiveEXT
decoration