WaveActiveAllTrue function

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

Syntax

bool WaveAllTrue(
   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 the following types of shaders:

Vertex Hull Domain Geometry Pixel Compute
x x

 

See also

Overview of Shader Model 6

Shader Model 6