commit | 96a96697192cf8bf59979ef8060e0a975c618596 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Wed Jul 05 00:30:56 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jul 05 00:30:56 2023 +0000 |
tree | 3a270f45a6c40f75fec18d647c4eca4068bacaf8 | |
parent | 9b9a8ab49801cf8811ec88dd652717491a284305 [diff] |
[tint] Fold trivial lets in SPIR-V reader This significantly reduces the amount of let declarations that are generated when converting SPIR-V to WGSL. The resulting WGSL is much smaller and more readable, and faster to parse and process. A few SPIR-V E2E test inputs were changed as they were generating invalid constant expressions after inlining. Change-Id: I1bebf37f6c877e0e0e905f83709503d32b441699 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/140040 Reviewed-by: Ben Clayton <bclayton@google.com> Reviewed-by: David Neto <dneto@google.com> Commit-Queue: James Price <jrprice@google.com> Kokoro: Kokoro <noreply+kokoro@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.