Description

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

See Also

No cross-references are available

Document Notes

For more information, see the Vulkan Specification

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

Copyright 2014-2024 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0