SPIR-V Built-In
CullDistancePerViewNV
Application-specified cull distances per view
CullDistancePerViewNV
Decorating a variable with the CullDistancePerViewNV
built-in
decoration will make that variable contain the per-view cull distances.
The per-view cull distances have the same semantics as CullDistance
.
Valid Usage
VUID-CullDistancePerViewNV-CullDistancePerViewNV-04201
The CullDistancePerViewNV
decoration must be used only within the
MeshNV
Execution
Model
VUID-CullDistancePerViewNV-CullDistancePerViewNV-04202
The variable decorated with CullDistancePerViewNV
must be declared
using the Output
Storage
Class
VUID-CullDistancePerViewNV-CullDistancePerViewNV-04203
The variable decorated with CullDistancePerViewNV
must also be
decorated with the PerViewNV
decoration
VUID-CullDistancePerViewNV-CullDistancePerViewNV-04204
The variable decorated with CullDistancePerViewNV
must be declared
as a two-dimensional array of 32-bit floating-point values