commit | 9326aa157730bc50dee5bbffbecdb7452b42bf6f | [log] [tgz] |
---|---|---|
author | Zhaoming Jiang <zhaoming.jiang@microsoft.com> | Mon Mar 03 21:56:51 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Mar 03 21:56:51 2025 -0800 |
tree | 143617bbd73e7caa8ea8d16e616132541821b865 | |
parent | d9b513291fbe558d2617412b2573f14a18471bc5 [diff] |
Dawn: Cache limits in AdapterBase This CL make AdapterBase cache its CombinedLimits, so that getting adapter's limits would be simplified and allow using internal non-API method AdapterBase::GetLimits simply returning a const reference. This CL will make generating increase limit message more directly, helping the refactor of shader compilation. Bug: 396323236 Change-Id: Ia8b35d483ab19a598d244cf7e66012e8436740fd Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/226495 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Zhaoming Jiang <zhaoming.jiang@microsoft.com> 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.