commit | f2984cbb2be3c9c7e149ad43d9388d640b6e37f3 | [log] [tgz] |
---|---|---|
author | Loko Kung <lokokung@google.com> | Thu Apr 18 23:28:20 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 18 23:28:20 2024 +0000 |
tree | 9559276dfd564940ef336acd131bfba42721ddfb | |
parent | 3a88fbd736691d27a52720c8d9e48e87c4a584c5 [diff] |
[dawn][wire] Make FillReservation release WGPU objects if released. - Refactors code a bit to use templating in some places so we can use the types to choose accessors instead of via generator. - Introduces WGPUTraits in server side to allow for any other future traits we may find useful to include. - Fixes failing fuzzer case where we allocate an object, then release it before it is filled, causing a crash on FillReservation call. Bug: b:334279466 Change-Id: Iaa26df7185cad27c214d5c1ff3e1b468f3c3fbdf Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/184460 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Loko Kung <lokokung@google.com> Reviewed-by: 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.