commit | e1dc1eec8954c73cff73440b55c496155ed08543 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Tue Jul 23 18:11:26 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jul 23 18:11:26 2024 +0000 |
tree | 790e9cf9ea661e55d9e2aff7c571a4f77a001ac9 | |
parent | 39c1fe60f68ff58752ce600b85e72fabdfd27e79 [diff] |
[tint] Add sem::Load for swizzle from a pointer Without the implicit load, conversion to IR fails (found by fuzzer in the linked bug). This also causes the alias analysis and uniformity analysis to miss certain errors. Unlike all other cases where the load rule is invoked, the type of the source expression here is a pointer, since there is also an implicit dereference. This change allows `sem::Load` to have a pointer expression as its source type to support this. Bug: 353039528 Change-Id: I59513509468bbddb6e638d4c75bf566f257c8c0a Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/199176 Commit-Queue: James Price <jrprice@google.com> Reviewed-by: Antonio Maiorano <amaiorano@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.