commit | b133c649c15f4936922804a4ece255559231f5ff | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Tue Sep 26 00:59:00 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 26 00:59:00 2023 +0000 |
tree | c77bb650b2d1fc8b8b781c395d576a0b0d748c13 | |
parent | 6b618828f1835f5b599ca2ae46a7b7a19e873cd4 [diff] |
[ir] Make root block always exist Previously the `root_block` only existed if it had content. This CL changes the IR to always create the root block. This removes a potential tripping hazzard of getting a `nullptr` root block. It also removes the possibilty of accidentally creating the root block during transformation by calling `RootBlock()` on the builder. Bug: tint:1718 Change-Id: I62a6cd605cf774b4645911b7dde9df832f539004 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/153421 Reviewed-by: James Price <jrprice@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.