commit | 4cadbc4daf9fea260feb80f570674a9f71d7d50a | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Wed May 03 19:20:48 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed May 03 19:20:48 2023 +0000 |
tree | 54754b80fc9c4dfdbedf080454644edab1dcea88 | |
parent | 94bc4cf0466f872129ff05843a7b5f5d277eef9b [diff] |
[ir] Handle IdentifierExpression This Cl adds a scope stack into the IR builder and uses it to replace IdentifierExpressions with the relevant IDs. If the IdentifierExpression was const-eval'd then it will be replaced by the constant value. Bug: tint:1919 Change-Id: I54e38d56bd24e2ced1818c509115dd5a5149cb40 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/130900 Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Dan Sinclair <dsinclair@chromium.org> Reviewed-by: 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.