commit | 0ddddb00cbe0383d17e72d37175deb253051b532 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Thu Feb 09 15:35:27 2023 +0000 |
committer | Ben Clayton <bclayton@chromium.org> | Thu Feb 09 15:35:27 2023 +0000 |
tree | 94a4ef0fe1d0524172f6558a5195339c5f792740 | |
parent | 4e4cada291bb4b0469117f83f3b6bf67efbfb3ab [diff] |
tint/resolver: Start handling sem::Expression Change Resolver::Expression() and Resolver::Identifier() to return a sem::Expression instead of a sem::ValueExpression. This is required as IdentifierExpressions may resolve to non-values. Handle expressions that resolve to types, when they are expected to resolve to a value. Bug: tint:1810 Change-Id: I1cb069e3e736fc85af7bc395b388abe153b1f65a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/118500 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: 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.