commit | 158c85dab456c06b5d99d4c509841ad697b399fd | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Fri Aug 19 22:19:11 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Aug 19 22:19:11 2022 +0000 |
tree | c7b851ded3b40ccfe22b990bd1525be2c5fa4a7c | |
parent | 97e0c71eb6a3804e94936835faa5cf5ae91706dc [diff] |
Add new relational rules to WGSL grammar. This CL adds the `relational_expression.post.unary_expression` grammar rule into the WGSL parser. A `shift_expression` helper and a `relational_expression` helper are also added. Note, the two helpers have `maybe_` as name prefixes. This will be dropped when the old parser path is removed which current uses the other versions of those names. Bug: tint:1633 Change-Id: I6431edfe8fdb9f5a6eea804a7d6fa9a4982ea04e Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99761 Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
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.