WaveActiveAnyTrue function
Returns true if the expression is true in any of the active lanes in the current wave.
Syntax
bool WaveActiveAnyTrue(
bool expr
);
Parameters
-
expr
-
The boolean expression to evaluate.
Return value
True if the expression is true in any lane.
Remarks
This function is supported from shader model 6.0 in all shader stages.
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for