SPIR-V Built-In
MeshViewCountNV
Number of views processed by a mesh or task shader
MeshViewCountNV
Decorating a variable with the MeshViewCountNV
built-in decoration will
make that variable contain the number of views processed by the current mesh
or task shader invocations.
Valid Usage
VUID-MeshViewCountNV-MeshViewCountNV-04287
The MeshViewCountNV
decoration must be used only within the
MeshNV
or TaskNV
Execution
Model
VUID-MeshViewCountNV-MeshViewCountNV-04288
The variable decorated with MeshViewCountNV
must be declared using
the Input
Storage
Class
VUID-MeshViewCountNV-MeshViewCountNV-04289
The variable decorated with MeshViewCountNV
must be declared as a
scalar 32-bit integer value