dot4I8Packed
On this page

dot4I8Packed

Function

Reads both u32 arguments as four SIGNED bytes and sums the four products into an i32, wrapping at 32 bits.

The signature and the sentence under each name are the compiler's own text at commit 26de7be8.

Syntax

declare function dot4I8Packed(a0: u32, a1: u32): i32
declare function dot4I8Packed(a: u32, b: u32): i32

Parameters

Return value

i32

Description

WebGPU-only, like dot4U8Packed.

Targets

WGSL
dot4I8Packed(a, b)
GLSL ES 3.00
dot4I8Packed has no GLSL ES 3.00 form

Examples

See also

Edit this page Report a problem