commit | dcdf66ed5b286b8b67bfb633b86f298f8910f344 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Fri Jun 17 12:48:51 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 17 12:48:51 2022 +0000 |
tree | 5737a2efafc41becacca4b44c88d34899179177d | |
parent | be6fb2a8d2f3c574ef0b3ced7b19c3a6541ece35 [diff] |
tint/ast: Derive off `ast::Variable` Add the new classes: * `ast::Let` * `ast::Override` * `ast::Parameter` * `ast::Var` Limit the fields to those that are only applicable for their type. Note: The resolver and validator is a tangled mess for each of the variable types. This CL tries to keep the functionality exactly the same. I'll clean this up in another change. Bug: tint:1582 Change-Id: Iee83324167ffd4d92ae3032b2134677629c90079 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/93780 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: Ben Clayton <bclayton@chromium.org> Kokoro: Kokoro <noreply+kokoro@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.