Description
SubgroupId
-
Decorating a variable with the
SubgroupId
built-in decoration will make that variable contain the index of the subgroup within the local workgroup. This variable is in range [0,NumSubgroups
-1].
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.