commit | 5a4c2a7ecf746849ee059c0ce8d94f25ca658bb4 | [log] [tgz] |
---|---|---|
author | Corentin Wallez <cwallez@chromium.org> | Fri Sep 20 08:01:26 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Sep 20 08:01:26 2024 +0000 |
tree | e57f2bd9d7fb061570c09dd88e48649cf45b3744 | |
parent | 50a0c824df73f17b27ed115bdcbdabc3c7848471 [diff] |
Using wgpu::StringView for wgpu::ShaderModuleDescriptor::code This is the first structure that gains a wgpu::StringView member so a couple additional things needed to be implemented: - Support in Kotlin bindings, and special casing that "string view" should be a Kotlin String and a JNI jstring. - Support in dawn.node to convert from std::string. A few tests wire tests using the C API needed to be fixed as well as Toggle::DumpShaders that used the code directly as a const char*. Bug: 42241188 Change-Id: I510ae9ddeb982ceb546a6516a320c27b20917bf3 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/206214 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.