commit | bf55236e134804a59034f6d67b6a7f2639464177 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Mon Jun 20 13:45:21 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jun 20 13:45:21 2022 +0000 |
tree | c99c13b96fdacfe1eef7f9ccfc73a3c24bb8f9c0 | |
parent | 46583621c0b17e72da334b2471898104e101406c [diff] |
dawn: Fix GCC build It's not valid for an explicit template specialization to declare a storage class (`static`). GCC correctly catches this, while Clang is too relaxed. Use C++17's 'inline' instead. The alternative is to push the initializers and values into the cpp file. This breakage was introduced in: https://dawn-review.googlesource.com/c/dawn/+/93604 Bug: dawn:1451 Change-Id: Ib3e61d233e16fd7828f8a2ae0909eedbd24ee52e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/94320 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: 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.