WaveActiveMin function
Returns the minimum value of the expression across all active lanes in the current wave replicates it back to all active lanes.
Syntax
<type> WaveActiveMin(
<type> expr
);
Parameters
-
expr
-
The expression to evaluate.
Return value
The minimum value.
Remarks
The order of operations is undefined.
This function is supported from shader model 6.0 in all shader stages.
Examples
float3 minPos = WaveActiveMin( myPoint.position );
BoundingBox.min = min( minPos, BoundingBox.min );
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