WaveRotate

Description

Signature

T WaveRotate<T>(
    T value,
    uint delta)
    where T : __BuiltinType;

vector<T, N> WaveRotate<T, int N>(
    vector<T, N> value,
    uint delta)
    where T : __BuiltinType;

Generic Parameters

T: __BuiltinType

N : int

Parameters

value : T

delta : uint

value : vector<T, N>

Availability and Requirements

Defined for the following targets:

glsl

Available in all stages.

metal

Available in all stages.

spirv

Available in all stages.

Requires capability: spvGroupNonUniformRotateKHR.