commit | a1e1e57addd3fb76d55d90c5df9078938b1a95cf | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Thu Sep 26 09:33:21 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 26 09:33:21 2024 +0000 |
tree | f5fbfeba8a81ddc207d526bd1d2e40d1fdaa023e | |
parent | 241b6b9a10ec84e75f497626c421d7b9bb26fe15 [diff] |
Fold wgpu::NullableStringView into wgpu::StringView We decided that required StringViews would result in the empty string if passed the nil StringView (NULL, WGPU_STRLEN). This means that the NullableStringView concept is no longer needed and can be removed. This is slightly involved as we need to remove the automatic conversion from StringView to std::string, otherwise the automatic conversion to std::optional<std::string> is ambiguous (either it is a direct conversion, or first a conversion to std::string then to std::optional<...>). Bug: 42241188 Change-Id: I24970aa8e71c34b9e7624f354f5bd92c42267f9d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/207994 Reviewed-by: Loko Kung <lokokung@google.com> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
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.