Notatka
Dostęp do tej strony wymaga autoryzacji. Może spróbować zalogować się lub zmienić katalogi.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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