SPIR-V Built-In
TaskCountNV
Number of mesh shader workgroups that will be generated
TaskCountNV
Decorating a variable with the TaskCountNV decoration will make that
variable contain the task count.
The task count specifies the number of subsequent mesh shader workgroups
that get generated upon completion of the task shader.
Valid Usage
VUID-TaskCountNV-TaskCountNV-04384
The TaskCountNV decoration must be used only within the
TaskNV Execution Model
VUID-TaskCountNV-TaskCountNV-04385
The variable decorated with TaskCountNV must be declared using the
Output Storage Class
VUID-TaskCountNV-TaskCountNV-04386
The variable decorated with TaskCountNV must be declared as a
scalar 32-bit integer value