WaveActiveAllTrue function

Returns true if the expression is true in all active lanes in the current wave.

Syntax

bool WaveActiveAllTrue(
   bool expr
);

Parameters

expr

The boolean expression to evaluate.

Return value

True if the expression is true in all lanes.

Remarks

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

 

See also

Overview of Shader Model 6

Shader Model 6