Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns true if the expression is the same for every active lane in the current wave (and thus uniform across it).
Syntax
<bool-type> WaveActiveAllEqual(
<type> expr
);
Parameters
-
expr
-
The expression to evaluate.
<type>
can be a basic scalar, vector, or matrix type.
Return value
Returns true
for each component of expr
that is the same for every active lane in the current wave.
<bool-type>
will be a scalar, vector, or matrix of bool
, matching the dimensionality of the input <type>
.
For instance, an input <type>
of matrix<float, 4, 3>
will result in a return <bool-type>
of matrix<bool, 4, 3>
.
Remarks
This function is supported from shader model 6.0 in all shader stages.
See also