commit | c00c569fca7d3e1d40a179e340177815f3292733 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Tue Oct 03 14:39:27 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 03 14:39:27 2023 +0000 |
tree | ee6f606026e05d0dc3e6d26a4522317b180c9139 | |
parent | 68c25b86e5e2ac299a4c84efa6ac75df31f9b545 [diff] |
[ir] Check for orphaned instructions in validator Record all instructions that were visited while validating the module, then make sure that all instructions in the allocator that are alive were visited. Fix transforms that were not destroying instructions after replacing them. Add the ability to destroy an entire function, by recursively destroying its blocks and their contents. To do this, we remove the assertion that a value has no remaining usages when it is destroyed. Fixed: tint:1995 Change-Id: I7e3eaeec9cfb215fe07b96dbe5fe8e1a6a2c05a4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/154521 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: James Price <jrprice@google.com> Reviewed-by: 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.