commit | 86f0683126169002afabfaefe56f81af8c52bf42 | [log] [tgz] |
---|---|---|
author | Lokbondo Kung <lokokung@google.com> | Mon Mar 03 14:42:28 2025 -0800 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Mar 03 14:42:28 2025 -0800 |
tree | 23c14f86bbf7e5b1316a6a4922d326642d826013 | |
parent | f3211ff048ae146ca06c8e525e8b5a4f1aee3310 [diff] |
[dawn][wire] Adds Dawn wire invalid extension struct and handling. - Fixes serialization side by early-ing out when we detect invalid chain structure. - Fixes deserialization by only deserializing allowed types. - With these fixes, the stack overflows should no longer be possible during serialization nor deserialization, so we can add back extensibility for PipelineLayoutStorageAttachment. Bug: 383824627 Change-Id: I8d4858b2ab747a53a5c6721f5d15160cc36bf3d0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/226175 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Kai Ninomiya <kainino@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.