commit | 02025311594d7bbcca0fb0d0abd1c44c542c9379 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Fri May 26 13:14:44 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 26 13:14:44 2023 +0000 |
tree | 8e4d6d6be63e731f4ded933e1fbc7cf196054b20 | |
parent | bdbbffbdfb084cb832786ec2b05c5473c94468c5 [diff] |
[ir] Add a NextIteration instruction. This CL adds a `NextIteration` instruction in order to branch from a continue block back to the start of a loop. The `next_iteration` is clearer then the `break-if false` pattern that was there previously. BreakIf is retained and used when an `ast::BreakIf` is encountered as it's clearer then the replaced `if` structure. Bug: tint:1718 Change-Id: Ie6ce0db51c244866e2e99118bc00e4cfd2b3dc74 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/134600 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: James Price <jrprice@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.