commit | 72c450506769dfbde451d3a0c50604004c919122 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Thu Jun 27 02:17:27 2024 +0000 |
committer | James Price <jrprice@google.com> | Thu Jun 27 02:17:27 2024 +0000 |
tree | 3827a7fef8f641b16889485d0dca99005deef902 | |
parent | 214bdaf6bf516e441893548b091505a479b7c880 [diff] |
[tint] Pre-clone symbols in IR->AST pass Unnamed values (e.g. hoisted lets) receive the name "v", which is uniquified by the destination symbol table. If a named "v" value comes later, it is emitted without any uniquifying, and causes a clash. Pre-cloning all symbols resolves this whilst also preserving the names of all named values. Bug: 349291132 Change-Id: I9f82127e7ab0e5901519702d49cfeffdb507c07a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/195998 Reviewed-by: 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.