commit | e86758cb26ed69b8e9502037798298f11bcd9edc | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Wed Aug 17 18:57:49 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 17 18:57:49 2022 +0000 |
tree | 56bff766094d8f2c52ced67fefe5f64d8f66be48 | |
parent | b60acc303f2d28bdfc90a398e4427ea150847ad0 [diff] |
reader/wgsl: Error if 'struct' has attributes Attributes were being parsed, constructed, then thrown away, when declared on a structure. This was triggering the unreachable-AST node seatbelt in the Resolver. Replace the confusing `Maybe<bool>` return types with `Maybe<Void>`. The boolean return value was not actually being used, as logic was (correctly) using the `Maybe` error / matched state. Bug: chromium:1352803 Change-Id: I39e4994e3e9b13201ba4f4e4820cd4b2f46e93c5 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99100 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Auto-Submit: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: David Neto <dneto@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.