commit | ce10962d82e43f65de0f2be56a617b9b9376f812 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Wed Feb 22 13:36:01 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 22 13:36:01 2023 +0000 |
tree | 7370e94e45fd1e459392bd4b01dd8f21e069efdb | |
parent | dd57720d142a0d10f6679e48cdc16b4e21a43005 [diff] |
Add parsing and emission of the `must_use` attribute. This CL adds parsing of the `@must_use` attribute into the WGSL parser. The WGSL generator is also updated to emit the attribute. Bug: tint:1844 Change-Id: If8821c9ac534b866cbe042128a00a582a245c3de Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/120821 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Auto-Submit: Dan Sinclair <dsinclair@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.