commit | 5b541ff3c287f06b74350827628249152293f407 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Wed Apr 26 00:10:40 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Apr 26 00:10:40 2023 +0000 |
tree | 4b743a94029cdff8552a02c230b5b8e1ecf2d2f2 | |
parent | 5aa7ef2bc077134fca8afbe584016916adecc064 [diff] |
[ir] Mark const variable as skipped. The const variables should all have been const-eval'd and turned into `constants` at the usage sites. This CL updates the IR to skip constants when emitting. A TODO is added to validate they aren't used when identifier expressions are supported. Bug: tint:1718 Change-Id: I77328a0cbd3d7f6692d1d1057d6953fcf762cfd7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/129240 Kokoro: Kokoro <noreply+kokoro@google.com> 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.