commit | 9396f1679372f820257f758c393a02a3247c9645 | [log] [tgz] |
---|---|---|
author | James Price <jrprice@google.com> | Thu Jul 04 19:40:34 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 04 19:40:34 2024 +0000 |
tree | 9adbb054cec035a4e84a954fd25f2529650c2dbd | |
parent | 5532d280e4ba55b9231a191232c9059dfde0dbe6 [diff] |
[tint] Simplify std::optional equality comparisons Instead of checking for the presence of an optional and then comparing its `value()` to another value, we can just directly compare the optional itself to the value, which takes care of checking presence automatically. Change-Id: I1562962c9239a96baf11847944539646b335c12f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/196818 Commit-Queue: James Price <jrprice@google.com> Auto-Submit: James Price <jrprice@google.com> Reviewed-by: dan sinclair <dsinclair@chromium.org> Commit-Queue: dan sinclair <dsinclair@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.