commit | 82963fe1f77a313839809d955fffea7b235fc32b | [log] [tgz] |
---|---|---|
author | Zhaoming Jiang <zhaoming.jiang@microsoft.com> | Sun May 18 21:48:40 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sun May 18 21:48:40 2025 -0700 |
tree | c230bcbcff95d937d48da884b21c5b7a67ba7869 | |
parent | 37c81933d340fe0091e0795d3a49b6acadf14c68 [diff] |
Dawn: Make shader module reflection serializable This CL make shader module reflection data, i.e. EntryPointMetadataTable serializable, so we can cache it into on-disk blob cache. With this CL it is possible to create a shader module with reflection data but without calling Tint at all. This CL also make macro DAWN_SERIALIZABLE to generate default equality comparison for the serializable struct, and also add default equality comparison operator in necessary structs to achieve that. Bug: 402772740, 42240459 Change-Id: Icf7b2d3d2e1fa427f2bd9e1db4f6410ff842c08c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/241494 Reviewed-by: Geoff Lang <geofflang@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.