commit | a7644371384f47db8b2486087260523cec3a4c82 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Sat Jan 07 23:13:35 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Jan 07 23:13:35 2023 +0000 |
tree | 89098dfd38b07ae0991763e6fa2cfaf2e805ff90 | |
parent | 55aa8017053b4e28e3b9be09cff2c588b8bd1006 [diff] |
[ir] Allow branching arguments. When branching to a different flow node, there is a need to pass arguments to the branch. These arguments could be the value of the return. This extracts a `Branch` out to an object with a target and arguments and then updates the IR to use the new Branch structure. Bug: tint:1718 Change-Id: Ic8de8046f58056327a04c8afe3b597810c80ccdb Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/116546 Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Dan Sinclair <dsinclair@chromium.org>
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.