commit | c77a135a468ff0d9baafa5f39a43731d8e6b2324 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Tue Nov 07 17:56:50 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 07 17:56:50 2023 +0000 |
tree | b21f028c4794b47c447f08feb0fb080efaaa1a43 | |
parent | 2b28c269f35f6f135f55bb1ed688ac0b08b41385 [diff] |
dawn.node: Fix rejecting promises in async pipeline compilation. Previously the TypeError would be thrown immediately on createPipelinAsync when it should reject the exception. Implement this by allowing the converter to retain the exception instead of throwing it, so that it can be acquired to reject the promise. Also adds a bunch of [[nodiscard]]. Bug: None Change-Id: Ib77480345e7862017fa03f6fab13b904a3c2e9a6 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/159362 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Ben Clayton <bclayton@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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.