[WGSL] dot4U8Packed, dot4I8Packed do not appear to be implemented https://www.w3.org/TR/WGSL/#dot4U8Packed-builtin https://www.w3.org/TR/WGSL/#dot4I8Packed-builtin I think something like (pseudo-code): fn dot4U8Packed(e1: u32, e2: u32) -> u32 auto v1 = as_type<uint4>(e1); auto v2 = as_type<uint4>(e2); return dot(v1, v2); would work
<rdar://problem/118796882>
No dot products for integer vector types in metal, so it would be something like: return v1[0] * v2[0] + v1[1] * v2[1] + v1[2] * v2[2] + v1[3] * v2[3];
Pull request: https://github.com/WebKit/WebKit/pull/22508
Committed 272814@main (2d83031a0ec4): <https://commits.webkit.org/272814@main> Reviewed commits have been landed. Closing PR #22508 and removing active labels.