commit | 4840ad519979cfd9ea35769a87df307bd45db235 | [log] [tgz] |
---|---|---|
author | Loko Kung <lokokung@google.com> | Fri Jul 26 21:46:15 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jul 26 21:46:15 2024 +0000 |
tree | 4631a3bf9cc79f8521b48e77a781b1eb65eff5c8 | |
parent | b476ec918fb0de3afc5471c86de65ed4473c5ad5 [diff] |
[dawn][wire] Make the server validate invalid null string views. Since we have both NullableStringView and StringView types, any entry point that takes StringView should reject the call when passed a null string. This fixes the fuzz tests that are hitting this path when trying to convert the null WGPUStringViews into string_views and hits an assert. Bug: 355484325 355533783 Change-Id: I8db838c74c23c56417d2b600f58fa39f4af6c58f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/200177 Auto-Submit: Loko Kung <lokokung@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: 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.