commit | 4934dc0544f8d39db30f791337fbcf94b8c9301c | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Fri Jun 16 12:11:56 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jun 16 12:11:56 2023 +0000 |
tree | 25363e489cf85752c65c6a7d9724a79efe428ee5 | |
parent | 4588fe12df3d6ae9b4032c6a5b47690d339ae201 [diff] |
[ir] Update `Value` parameters. This CL updates the various instructions to allow the provided `Value`s to be `nullptr`. These will be checked by the validator to ensure they do not move through to the backends. The `AddOperand` and `AddOperands` methods are updated to take the operand position. The provided position is then validated against the operand list to validate that it is the next appended item. This verifies that the operands are added at the expected indices so any call to `SetOperand` will work as expected. Bug: tint:1718 Change-Id: I2d20f1d8a18da80a70c45e49ae8598fe477eb826 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/137360 Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> 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.