commit | 0b255d2da6884122ffced19bddffcb87510c1a3b | [log] [tgz] |
---|---|---|
author | Ben Clayton <bclayton@google.com> | Wed Nov 08 18:34:09 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 08 18:34:09 2023 +0000 |
tree | a4ed01babea61a1f4469249181d24d259d148238 | |
parent | 52d11797f66d0718643d5462954cf6d38c42c232 [diff] |
[tint] Use std::string_view for generated enum strings Instead of 'const char*'. The string length can be calculated and stored at compile time. This also allows us to remove some 'const char*' -> std::string_view conversions. Also drop 'const' from std::string_view in a couple of places. The view content is already immutable. Change-Id: Iea88f54f8872d2fdce22b9d9164cfc2cf64c25a4 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/159780 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: James Price <jrprice@google.com> Commit-Queue: Ben Clayton <bclayton@google.com>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.