QuadReadAcrossX function

Returns the specified local value read from the other lane in this quad in the X direction.

Syntax

<type> QuadReadAcrossX(
   <type> localValue
);

Parameters

localValue

The requested type.

Return value

The specified local value. If the source lane is inactive, the results are undefined.

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