W3C home > Mailing lists > Public > public-gpu@w3.org > October 2020

PSA for Chromium / Dawn WebGPU API updates 2020-10-19

From: Corentin Wallez <cwallez@google.com>
Date: Mon, 19 Oct 2020 16:22:29 +0200
Message-ID: <CAGdfWNM+jcg20rifeZWTN+5zsp_4hFsAyy_1w7dy7=7Ug9tUVw@mail.gmail.com>
To: public-gpu <public-gpu@w3.org>, Dawn Graphics <dawn-graphics@googlegroups.com>
Hey all,

*TL;DR:* Chromium now has experimental WGSL support, experimental Linux
support (soon) in the Dev channel, and a bunch of features like
writeTexture. Also a few breaking changes.

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

Cheers,

Corentin
Received on Monday, 19 October 2020 14:23:00 UTC

This archive was generated by hypermail 2.4.0 : Monday, 19 October 2020 14:23:01 UTC