commit | bf6d11ceaa632494a17f22de051a812e0fbacce8 | [log] [tgz] |
---|---|---|
author | Zhaoming Jiang <zhaoming.jiang@microsoft.com> | Tue May 13 06:43:52 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue May 13 06:43:52 2025 -0700 |
tree | fa0135fa90b2655c6c5f70e1a41faaf9d6e9bfb9 | |
parent | 5c35c85ec396a7e2656f4ae8e328f9c85e0abcaa [diff] |
Dawn: Support stream for types used in shader module reflection This CL add stream in/out support for types used in the shader module reflection, including std::wstring, std::variant, std::unique_ptr, ityp::array, absl::flat_hash_map, andabsl::flat_hash_set. This CL also add support for stream out std::reference_wrapper, which are used for sorting the items in map/set without copying them. Related unittests are also added. Bug: 402772740 Change-Id: I0b93c3638879ef749428c4f37420b132b2a0849f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/241474 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> 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.