WaveActiveBitOr function

Returns the bitwise OR of all the values of <expr> across all active non-helper lanes in the current wave, and replicates it back to all active non-helper lanes.

Syntax

<int_type> WaveActiveBitOr(
   <int_type> expr
);

Parameters

expr

The expression to evaluate.

Return value

The bitwise OR value.

Remarks

This function is supported from shader model 6.0 in all shader stages.

 

See also

Overview of Shader Model 6

Shader Model 6