commit | 0ebf677dfe216d923a5e233accb419b9182c4bb0 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Thu Jun 08 11:36:35 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 08 11:36:35 2023 +0000 |
tree | 991d9dd1035ec90c77b943ce9c8c129c189f8eff | |
parent | 0505203e8b0977ab149a3897ffb917077e4d466b [diff] |
[tint][ir] Add MultiInBlock that derives from Block IncomingBranches and BlockParams are only used to track branches from two different blocks. Create a new MultiInBlock class that derives from Block, and moves the IncomingBranches and BlockParams to this new derived class. Rename IncomingBranches to InboundSiblingBranches to signify that the ControlInstruction is not included in this list. The only places that MultiInBlock are used are on the merge target of If, Loop and Switch, and the Body and Continuing blocks of a Loop. The rest of the blocks have a single incoming branch, which is implicitly known by the flow-control instruction. Bug: tint:1718 Change-Id: I49b54950076412815457b1cc2566368e55b19bd2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/136280 Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org> 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.