commit | d81aca71067c17ddcf087c18e276b70e151fcc01 | [log] [tgz] |
---|---|---|
author | Loko Kung <lokokung@google.com> | Thu Mar 02 01:24:03 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Mar 02 01:24:03 2023 +0000 |
tree | e105d94a23a2c4dc659a0a01443054dca7e5bf28 | |
parent | e11208e9ce46b70f076d4a070288f214c2620733 [diff] |
Make ConsumedError require handling the returned bool. This change makes it harder to misuse ConsumedError which can cause device loss. When it is a known error, instead use HandleError to bypass the "unlikely" if clause. Bug: dawn:1336 Change-Id: I3052db343fe4080b257f1c2f9535f743a0e78526 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/120384 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Loko Kung <lokokung@google.com> Kokoro: Kokoro <noreply+kokoro@google.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress WebGPU standard. More precisely it implements webgpu.h
that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.