WaveGetLaneEqMask

Description

Returns a mask with only the current lane’s bit set. Equivalent to GLSL gl_SubgroupEqMask.

Signature

vector<uint, 4> WaveGetLaneEqMask();

Availability and Requirements

Defined for the following targets:

hlsl

Available in all stages.

glsl

Available in all stages.

cuda

Available in all stages.

metal

Available in all stages.

wgsl

Available in all stages.

spirv

Available in all stages.

Requires capability: spvGroupNonUniformBallot.