commit | afd7f2aa21719374eee8a8201b2e4357b49c046d | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Tue Jan 03 21:55:36 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jan 03 21:55:36 2023 +0000 |
tree | d295191b76d59b6a8c7889dbf879b2b49e559bae | |
parent | b70d610bae692a872e0d449aef00496e68a3c22c [diff] |
[ir] Add usage tracking to ir::Value. This CL updates ir:Value to track the instructions which use a given value. The instructions add their usage upon construction. This necessitates making the values non-const in a lot of places as they get changed by the instruction. The `result` value is moved up to the base instruction class as it should exist in all instructions. Bug: tint:1718 Change-Id: Id7ab6e43d48caea502756d274dd6be2e1e4240f1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/116141 Commit-Queue: Dan Sinclair <dsinclair@chromium.org> Reviewed-by: Ben Clayton <bclayton@google.com> Kokoro: Kokoro <noreply+kokoro@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.