commit | 72e3ba6b5456b0f7252ac003ead8eeac362a9cf7 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Thu Sep 30 18:04:01 2021 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 30 18:04:01 2021 +0000 |
tree | bf040a5deab4edcbfad3b427e0857a5f6583c683 | |
parent | 547c4ed0ca50b9cf43e12faaa53b90e801d3b1fb [diff] |
dawn_node: Fix macOS build Generate exported node symbol stubs with weak linking. This keeps the linker happy, and these are replaced by the real node symbols at runtime. Fix clang warnings. Have WGPUBufferMapAsyncStatus_DestroyedBeforeCallback reject the promise with an AbortError. Bug: dawn:1123 Change-Id: I503f889b027b6cfc0e458abf434d4888990fb67b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/65560 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Antonio Maiorano <amaiorano@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: 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)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.