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

Hey all,

You can find the details of the updates in this document
<https://hackmd.io/szV68rOVQ56GYzPJMBko8A>. 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

Received on Tuesday, 28 July 2020 19:44:27 UTC