commit | 9ff85267afccef5a8dbd86aea57a4da417fc8d6d | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Thu Sep 28 15:08:05 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 28 15:08:05 2023 +0000 |
tree | 55980e16d24c493f9a35e2f3e61518054e1c86a8 | |
parent | c0476283ff86f358c76346d7f014330e5206bf76 [diff] |
[ir] Fix let instructions in BlockDecoratedStructs When the struct is not wrapped there are type mismatches between the old struct and the new struct. Instead of generating an unnecessary wrapper in these cases, just mark the original struct as a block. This simplifies the transform logic at the cost of a `const_cast`, which will be removed when we eventually un-const types. Change-Id: Id60eb6e45768acc15f1f6dd76d761a3d657d37d2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/153861 Reviewed-by: Ben Clayton <bclayton@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.