Description
SubgroupGtMask
-
Decorating a variable with the
SubgroupGtMask
builtin decoration will make that variable contain the subgroup mask of the current subgroup invocation. The bits corresponding to the invocations greater thanSubgroupLocalInvocationId
throughSubgroupSize
-1 are set in the variable decorated withSubgroupGtMask
. All other bits are set to zero.SubgroupGtMaskKHR
is an alias ofSubgroupGtMask
.
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.