--- layout: stdlib-reference --- # WaveMultiPrefixBitAnd ## Description ## Signature
T WaveMultiPrefixBitAnd<T>(
    T value,
    vector<uint, 4> mask)
    where T : __BuiltinLogicalType;

vector<T, N> WaveMultiPrefixBitAnd<T, int N>(
    vector<T, N> value,
    vector<uint, 4> mask)
    where T : __BuiltinLogicalType;

matrix<T, N, M> WaveMultiPrefixBitAnd<T, int N, int M>(
    matrix<T, N, M> value,
    vector<uint, 4> mask)
    where T : __BuiltinLogicalType;

## Generic Parameters #### T: [\_\_BuiltinLogicalType](../interfaces/0_builtinlogicaltype-029g/index.html) #### N : int #### M : int ## Parameters #### value : [T](wavemultiprefixbitand-049fi.html#typeparam-T) #### mask : [vector](../types/vector/index.html)\ #### value : [vector](../types/vector/index.html)\<[T](../types/vector/index.html#typeparam-T), [N](../types/vector/index.html#decl-N)\> #### value : [matrix](../types/matrix/index.html)\<[T](../types/matrix/t-0.html), [N](../types/matrix/index.html#decl-N), [M](../types/matrix/index.html#decl-M)\> ## Availability and Requirements Defined for the following targets: #### hlsl Available in all stages. #### glsl Available in all stages. #### cuda Available in all stages. #### spirv Available in all stages. Requires capabilities: `spvGroupNonUniformBallot`, `spvGroupNonUniformArithmetic`, `spvGroupNonUniformPartitionedNV`.