← Back to release summary

WGSL: packed 4x8 integer dot product (DP4)

Category
Graphics
Type
Chromium catches up
Status
Enabled by default (Chrome 123)
Intent stage
None

WPT details: WebGPU/WGSL have a conformance test suite (https://github.com/gpuweb/cts) that is regularly pulled into Chromium and part of the testing of Dawn/Tint in Chromium. Note that tests are still being written, but the feature will not be launched until it is fully tested.

Summary

Functionality added to the WebGPU/WGSL spec after its first shipment in a browser. Adds support new WGSL builtins to work with 4 8-bit numbers packed in a u32. The new dot product functionality is especially useful for executing machine learning models that work on 8-bit weights.

Standards & signals

Ecosystem

View on chromestatus.com