commit | 7a6e017503f270e26db3f5399e1e6a3f2f7afef2 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Wed Oct 16 00:12:15 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Oct 16 00:12:15 2024 +0000 |
tree | 6cbb8993a7679818d1debb3694923398cd9d8d4c | |
parent | 74080eca21c1c8089560ce5e282bb37ebd52447d [diff] |
[spirv-reader] Avoid creating access with no indices If an `OpAccessChain` instruction has no indices, just forward the source object instead of creating an empty `access` instruction. Simplify the two downstream transforms accordingly. Bug: 370743660 Change-Id: I26e9c5c09d4b22cdeb45c6d2f08727fce0c46f37 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/211097 Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: James Price <jrprice@google.com>
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.