commit | 7b6fd80c3576b9f040fd4b9f06d19f8cfe9e486f | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Wed Jun 07 19:06:42 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 07 19:06:42 2023 +0000 |
tree | 1efe036dad308a583e20a7c6f81bcd7d54198ebd | |
parent | aa78dcd4c94ec2aa474ff1a2d26416ad313d3716 [diff] |
[tint][ir] Add ControlInstruction To sit between ir::Instruction and [ir::If, ir::Loop, ir::Switch]. All of these instructions are special in that they hold their own blocks, and they do not have block arguments. Add a Parent() accessor on blocks, so there's a way to get the FlowControlInstruction from the block. Bug: tint:1718 Change-Id: Ibd1c6fc1a1d0153aa58891e9c4f5f3d95b0061d7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/136281 Reviewed-by: dan sinclair <dsinclair@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@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.