commit | faadfb1d93c2aede8a4e3645394ae44384bb4d56 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Thu Jun 29 20:38:37 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 29 20:38:37 2023 +0000 |
tree | e85af595aacc8d4871659e8eb15f25bbcca91b61 | |
parent | 9759ac39a0f89d70cb1e753645861a717ca529cc [diff] |
[ir][validation] Walk through if/switch/loop in the validator Add support for walking through the blocks of if/switch and loop now that the structure has settled. Fixup a few tests along the way that are broken due to failed validation. This updates the disassembler to assume that an if always has a true block and a loop always has a body. This is then validated by the generic block code that a terminator is required in a block. Bug: tint:1952 Change-Id: I8e18e8b314b1b113602fa279143b96d870706690 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/139505 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.