dot4add_u8packed

Description

Treats x and y as 4-component vectors of UInt8 and computes dot(x, y)+acc

Signature

uint dot4add_u8packed(
    uint x,
    uint y,
    uint acc);

Parameters

x : uint

y : uint

acc : uint

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.

metal

Available in all stages.

wgsl

Available in all stages.

spirv

Available in all stages.

Requires capabilities: SPV_KHR_non_semantic_info, SPV_GOOGLE_user_type, spvDerivativeControl, spvImageQuery, spvImageGatherExtended, spvSparseResidency, spvMinLod, spvFragmentBarycentricKHR, spvFragmentFullyCoveredEXT, spvGroupNonUniform, spvGroupNonUniformBallot, spvGroupNonUniformShuffle, spvGroupNonUniformArithmetic, spvGroupNonUniformQuad, spvGroupNonUniformVote, spvRayTracingPositionFetchKHR, spvShaderNonUniformEXT.

llvm

Available in all stages.