commit | ae8a9f9f55c471f5136d11fb96277ff854e7a42f | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Tue Jun 06 19:37:51 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 06 19:37:51 2023 +0000 |
tree | 9c1d710dcf5318472c4998db9c06e31c8e5b5a68 | |
parent | 685c77974e3ef791b4333d4dad8238e57829de73 [diff] |
[ir] Add OperandInstruction class Use this for all instructions that have operands, putting their operands in the operand list. This changes some friendly names getters (such as Call::Args() and Access::Indices()) to return a utils::Slice instead of a utils::VectorRef, in order to skip over unrelated operands. Bug: tint:1718 Change-Id: I939a5e400e8f4952611acff77d5811254a53820c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/135760 Reviewed-by: Dan Sinclair <dsinclair@chromium.org> Commit-Queue: James Price <jrprice@google.com> Auto-Submit: James Price <jrprice@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.