WavePrefixProduct
Description
Signature
/// Requires Capability Set 1: T WavePrefixProduct<T>(T expr) where T : __BuiltinArithmeticType; /// Requires Capability Set 1: vector<T, N> WavePrefixProduct<T, N:int>(vector<T, N> expr) where T : __BuiltinArithmeticType; /// Requires Capability Set 2: matrix<T, N, M> WavePrefixProduct<T, N:int, M:int>(matrix<T, N, M> expr) where T : __BuiltinArithmeticType;
Generic Parameters
T: __BuiltinArithmeticType
N : int
M : int
Parameters
expr : T
expr : vector<T, N>
expr : matrix<T, N, M>
Availability and Requirements
Capability Set 1
Defined for the following targets:
hlsl
Available in all stages.
glsl
Available in all stages.
cuda
Available in all stages.
metal
Available in all stages.
wgsl
Available in all stages.
spirv
Available in all stages.
Requires capability: spvGroupNonUniformArithmetic
.
Capability Set 2
Defined for the following targets:
hlsl
Available in all stages.
glsl
Available in all stages.
cuda
Available in all stages.
wgsl
Available in all stages.
spirv
Available in all stages.
Requires capability: spvGroupNonUniformArithmetic
.