commit | f3b93c1b2da8c55aacb49cb0763e6fcf666a8ff1 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Wed Mar 20 13:38:35 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 20 13:38:35 2024 +0000 |
tree | 7e2c6ecb447f280580ee140c22a510d3167f5467 | |
parent | cc21b87a98657132c9982eaf5e3f795f9f8ed959 [diff] |
Add FoldConstants transform This Cl adds a transform which folds all constant expressions out of the AST. Once it has run any expression which evaluated to a constant result is replaced by the result. Bug: tint:2190 Change-Id: Iab8ddfcbe2001c02ec24ca0c6894d46b6d1dfd26 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/179020 Reviewed-by: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org>
Dawn is an open-source and cross-platform implementation of the 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.