commit | ad75b09ccdb0cd59b86725dc5e4bf5d9789af520 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Mon Jun 10 18:48:37 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jun 10 18:48:37 2024 +0000 |
tree | 8da1ec057d80626a0f11394943c578a0df98c4e0 | |
parent | 43aeeb4a19d9d4c6e9b3b9e51c84a6f581f16b05 [diff] |
dawn.node: Handle DeviceLostReason::InstanceDropped. Even if it happens only during destruction of the JS VM and the future being resolve is a functional noop since JS can't witness it. It avoids crashing when hitting the UNREACHABLE(). Fixed: 346264226 Change-Id: I91eda2655b5023229ba25f0a79f3059c1b4f1559 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/192700 Commit-Queue: Loko Kung <lokokung@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> Auto-Submit: Corentin Wallez <cwallez@chromium.org>
Dawn is an open-source and cross-platform implementation of the 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.