Shader Model 6
Shader model 6.0 adds a range of wave operation intrinsics for the pixel and compute shaders.
In this section
| Topic | Description |
|---|---|
|
Returns a per-lane globally ordered count. | |
|
Returns the specified source value read from the lane of the current quad identified by an Id number which must be uniform across the quad. | |
|
Returns the specified source value read from the other lane in this quad in the X direction. | |
|
Returns the specified source value read from the other lane in this quad in the Y direction. | |
|
Returns the bitwise AND of all the values of the expression across all active lanes in the current wave. | |
|
Returns the maximum value of the expression across all active lanes in the current wave. | |
|
Returns the minimum value of the expression across all active lanes in the current wave. | |
|
Returns the bitwise OR of all the values of the expression across all active lanes in the current wave. | |
|
Returns the bitwise XOR of all the values of the expression across all active lanes in the current wave. | |
|
Returns true if the expression is the same for every active lane in the current wave (and thus uniform across it). | |
|
Multiplies the values of the expression together across all active lanes in the current wave. | |
|
Sums up the value of the expression across all active lanes in the current wave and replicates it to all lanes in the current wave. | |
|
Returns true if the expression is true in all active lanes in the current wave. | |
|
Returns true if the expression is true in any of the active lanes in the current wave. | |
|
Returns a 64-bit unsigned integer bitmask of the evaluation of the Boolean expression for all active lanes in the specified wave. | |
|
Returns the number of lanes in the current wave. | |
|
Returns the index of the current lane within the current wave. | |
|
Returns the index of this wave since the start of the draw/dispatch call. | |
|
Returns true if the current lane is a helper pixel of the specified lane. | |
|
This result returns true for only one lane in the current wave. | |
|
Returns the product of all of the values in the lanes before this one of the specified wave. | |
|
Returns the sum of all of the values in the active lanes with smaller indices than this one. | |
|
Returns the value of the expression for the active lane of the current wave with the smallest index. | |
|
Returns the value of the expression for the given lane index within the specified wave. |
Related topics