Edit

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 in pixel and compute shaders starting with shader model 6.0. In compute shaders targeting shader model 6.0 through 6.5, the mapping of threads to quads is implementation-dependent. Shader model 6.6 defines the quad layout for compute shaders and adds support for this function in amplification and mesh shaders.

 

See also

Shader Model 6