commit | ba44daa08b94402e1d0ef4add3ff5c43fdd9c248 | [log] [tgz] |
---|---|---|
author | Kai Ninomiya <kainino@chromium.org> | Mon Jan 08 14:06:28 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Jan 08 14:06:28 2024 +0000 |
tree | 2a2ef6fb66361e8fe454f643ae257e06aebe675a | |
parent | 56ac95651352400c1bf1cf366670080b3ee5a9a8 [diff] |
Apply trivial frontend defaults by copy, and recursively struct.WithTrivialFrontendDefaults() makes a member-by-member copy of the struct, applying defaults where needed and recursing where possible. Also adds a few missing static_asserts for `type.chained` structs. Bug: dawn:2224 Change-Id: I5bb00d3c04f9417778114ffe79382266884208f7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/168160 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> Auto-Submit: Kai Ninomiya <kainino@chromium.org> Kokoro: Kokoro <noreply+kokoro@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.