PSA for Chromium / Dawn WebGPU API updates 2020-07-28

27 views
Skip to first unread message

Corentin Wallez

unread,
Jul 28, 2020, 3:44:10 PM7/28/20
to public-gpu, Dawn Graphics
Hey all,

You can find the details of the updates in this document. Below is the introduction of it for context.

Chromium’s WebGPU implementation and Dawn’s API try to closely follow changes to the WebGPU specification. When the WebGPU IDL changes, as best as possible Chromium and Dawn will support both the “old” and the “new” version of the IDL at the same time so prototypes can be updated. In JS, uses of the “old” path will result in a console warning, while when using Dawn directly, the “old” path will print a warning to stderr.

Note that all changes to Dawn’s API make it closer to webgpu.h that we hope will allow applications to target both Dawn, and wgpu in native before being compiled in WASM.

A couple weeks after an update like this one, the “old” version will be removed. This means that the “old” version of the items below will start being removed from Chromium/Dawn starting on 2020-08-11.

Cheers,

Corentin
Reply all
Reply to author
Forward
0 new messages