| commit | dcff5d08859ca834b9298c38f9422a2769a12f07 | [log] [tgz] |
|---|---|---|
| author | Corentin Wallez <cwallez@chromium.org> | Mon Jul 21 02:29:52 2025 -0700 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jul 21 02:29:52 2025 -0700 |
| tree | 22854c462ed080e942350cda9d7c5d8a8f0cdd36 | |
| parent | ee5bd35f74aff4726032337181fdccbef62282f4 [diff] |
[dawn][native] Allow setting default values in DAWN_SERIALIZABLE. This will be used in a follow-up CL to set a default for arraySize in GL's CombinedSamplerLocation serializable struct. Requires adding an MSVC flag to have a standard compliant preprocessor and fixing preprocessor UB in utils/compiler.h. Bug: 411573957 Change-Id: I7abbeef35680bb1af70b65b52da834163cb712a0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/253434 Reviewed-by: Geoff Lang <geofflang@chromium.org> Reviewed-by: Loko Kung <lokokung@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.