commit | e372511e1ba20f24fde0e1999fd318daeea13581 | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Wed Nov 02 19:46:49 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 02 19:46:49 2022 +0000 |
tree | bd2ed7e1dd7f588d2a5e61b1f20dffad6a12f2d1 | |
parent | 9535f7220913acd92d59c76009cb31b9410b1e21 [diff] |
tint/utils: Rework Hashmap / Hashset Previously Hashmap used to internally use a Hashset which held entries of key-value pairs. This was cute, but meant that a Hashset held mutable entries, which was a bag-of-bugs waiting to happen (change the entry to hash as something different and you're now in an entirely broken state). Pull the complex bits of Hashset out to HashmapBase, and have both derive from that. I've opted for inheritance over composition here to reduce the amount of structure chasing you'd have to do without debugger pretty-printers. Change-Id: I99e72244b69206a994edabfefd0e28d5d74d08d9 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/108240 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Ben Clayton <bclayton@google.com> Reviewed-by: Antonio Maiorano <amaiorano@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.