QuadReadAcrossDiagonal function

Returns the specified local value which is read from the diagonally opposite lane in this quad.

Syntax

<type> QuadReadAcrossDiagonal(
   <type> localValue
);

Parameters

localValue

The requested type.

Return value

The specified local value which is read from the diagonally opposite lane in this quad.

Remarks

For more information on quads, refer to Overview of Shader Model 6.

This function is supported from shader model 6.0 only in pixel and compute shaders.

 

See also

Shader Model 6