commit | a0901d4881287430d3fe96f6b45d268a6c27cffe | [log] [tgz] |
---|---|---|
author | dan sinclair <dsinclair@chromium.org> | Tue Aug 06 14:02:40 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 06 14:02:40 2024 +0000 |
tree | 6437ce04fe52086118cae691caf88b45f2d94659 | |
parent | 9eeb7b157acd6a1241ada70d6beb8d99c99a9196 [diff] |
Add a sorted `UsagesSorted`. This CL adds a `UsagesSorted` call to the ir::Value which returns a sorted list of usages. The usages are sorted by `<instruction id, operand index>`. In the case of a `nullptr` instruction the null usages come last and are then sorted by operand index. Bug: 354711610 Change-Id: I6f94c3d6a8d8d5ffd6fdde8fa6b6ffe02a6d2a08 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/201015 Reviewed-by: Antonio Maiorano <amaiorano@google.com> Commit-Queue: dan sinclair <dsinclair@chromium.org>
Dawn is an open-source and cross-platform implementation of the 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.