commit | 18dc315ccb830b4c52dd6b0fcab47d255bd59897 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Tue Aug 23 18:38:35 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Aug 23 18:38:35 2022 +0000 |
tree | 94b60e4fa2ae8ac020a3b5fe4b0ecc0b30477546 | |
parent | 32a1bce736ec0c86ad890b3d7ed08343f4225623 [diff] |
tint::CloneContext: Use utils::Hashset and utils::Hashmap For fewer heap allocations, faster lookups. Also use a generational counter to cache `ListTransforms` map lookups between clones. Reduces repeated map lookups in super-hot code. Change-Id: I34865bb39c756129be845b1eb6255ce436e275f7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/99280 Commit-Queue: Ben Clayton <bclayton@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Dan Sinclair <dsinclair@chromium.org>
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.