commit | 51db5cf955fec2c70c0084fa1938ce8ef9fcd0d5 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Thu Sep 07 14:40:36 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 07 14:40:36 2023 +0000 |
tree | f31abe089438b65bf2670803d41c51fd619dc17a | |
parent | 56895fffd8d478135a1ff277c866de74f93dce3f [diff] |
VarForDynamicIndex: Skip unevaluated expressions If an index accessor expression occurs on the RHS of a constant-evaluated short-circuiting expression, the indices will not be evaluated if the LHS evaluates to false. Make sure that we skip these expressions when looking for accesses that need to be hoisted to vars. Bug: tint:2038 Change-Id: I34766cc9dd95996cd3047899d7c43b4324b5ad7b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/150260 Auto-Submit: James Price <jrprice@google.com> Reviewed-by: David Neto <dneto@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Commit-Queue: David Neto <dneto@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.