CoopVec<T, int N>.fill

Description

Fill all elements of this CoopVec with the specified value.

Signature

void CoopVec<T, int N>.fill(T t)
    where T : __BuiltinArithmeticType;

Parameters

t : T

The value to fill all elements with.

Availability and Requirements

Defined for the following targets:

hlsl

Available in all stages.

glsl

Available in all stages.

cpp

Available in all stages.

cuda

Available in all stages.

spirv

Available in all stages.

Requires capability: spvCooperativeVectorNV.