commit | e9cfa262db36400a579cac3f2720dd51233c8a8e | [log] [tgz] |
---|---|---|
author | Zhaoming Jiang <zhaoming.jiang@microsoft.com> | Tue Jun 17 07:29:21 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 17 07:29:21 2025 -0700 |
tree | c460d22ec8a3aea31fe9edb09a96b134068ad52c | |
parent | b461f80b0cd4df9e1ebc0a68c0297ca1b9d4b2c6 [diff] |
Dawn: Implement shader module front-end blob cache This CL implement the blob cache for shader module front-end, currently caching the reflection information, compilation messages, and validation error (if any) into disk. With this CL, shader modules and pipelines can be created without calling Tint and backend compilers at all on backends supporting pipeline cache (i.e. D3D and vk) if cache hit. This CL also make FeaturesSet and TogglesSet serializable so we can add them in cache request. Bug: 42240459, 402772740 Change-Id: Id576776f7e1b9d54f431a2fa50082bc5951880ee Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/242854 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Zhaoming Jiang <zhaoming.jiang@microsoft.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.