commit | 376097ff885186cf60267cb7536c5bd031cfe571 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Tue Oct 01 09:17:59 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Oct 01 09:17:59 2024 +0000 |
tree | 604cdbe226d96200ec2cca44181be9fc7ef88784 | |
parent | caeda3b8046d6f335c3d3efdeaf93e2a52ab4410 [diff] |
Use wgpu::StringView for input strings. These are: - entryPoint names - overridable constant names - the cache isolation key - the HTML canvas selector. Fixups to dawn::native's entry point name handling were necessary, as well as a StreamIn<NullableStringView> implementation for serialization of the cache isolation key. Bug: 42241188 Change-Id: Ib245a957557dfe0d8829ecc48dbee53d04be1fad Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/207535 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Loko Kung <lokokung@google.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.