commit | 2f3cdea8d70c3504bbfa06bfde136c87f3f4b1f1 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Wed Apr 24 22:14:41 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Apr 24 22:14:41 2024 +0000 |
tree | 97a47d70bcecf58ba485678252a1d9e122e98728 | |
parent | 7e8d69822c9523ec6e23296a518af1c6c25176b0 [diff] |
Further optimize frontend cache with heterogenous emplace Use .emplace of RefCountedT to avoid creating WeakRefAndHash wrapper struct unless necessary. This allows for fewer Promote calls on insertion because the inserted value doesn't need to be promoted. Bug: dawn:1513 Change-Id: I4e70a8d44d50d73c0109476a4c97b31794ec7eaf Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/185440 Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com>
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.