commit | a59eb50148aa400fc32e6606e691977e779e88f5 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Wed Nov 29 11:12:05 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 29 11:12:05 2023 +0000 |
tree | d7558d8a6a993ce09e22b52a8c71eb9712e8fb9f | |
parent | e1e6eda7b4bc6672e12aaee7349d6b09a68fbe28 [diff] |
dawn.node: Implement WebIDL rules to reject Promise with exception WebIDL requires that functions returning promises don't throw exceptions and instead reject the promise with the exception. Implement this behavior in idlgen and templates. This simplifies the previous code that was introduced to manually do this in Converter.h/.cpp. Bug: None Change-Id: Ie216f5182443fbd4a27104eb077f96a829c7eca4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/159925 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: 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.