commit | a5268dff5477b3b7b8bed8216020b0d0b46a5ef7 | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Thu Jun 08 21:39:53 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 08 21:39:53 2023 +0000 |
tree | afc5c3915064cee727ff699024e03884c827e133 | |
parent | 5c9fd76edd8cbbcd178fca81aa9de3be865f4098 [diff] |
[ir] Unconst most of the IR. The IR is designed to be mutated. There are several `const` methods in both the IR itself and the disassembler and validator. These methods are unweildy in the face fo the IR being mutable. This CL removes the `const` from most of the IR methods. The `type::Type`, `constant::Value` and `Slice<T* const>` remain as const due to ownership constraints. Bug: tint:1959 Change-Id: Idbe41bc6bcc06621d9a6bea60cb8370c121a2f33 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/136621 Commit-Queue: Dan Sinclair <dsinclair@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: 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.