commit | 2985826d79b616a2d9470ae6bff3bfa7ccd9e5cf | [log] [tgz] |
---|---|---|
author | Loko Kung <lokokung@google.com> | Fri Apr 12 23:26:58 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Apr 12 23:26:58 2024 +0000 |
tree | b370280c4c50bb1dbc707b1889ddf90101ffeeac | |
parent | 4f4698b1d9e322ab7479986a9764a5d573e2dcbe [diff] |
[dawn][wire] Introduce Reserved objects for allocation and release. - This differentiates Known and Reserved objects. This is important so that we properly release objects, i.e. Devices, that may be reserved but never fulfilled on the Server side. - Fixes the fuzzer bug by ensuring that trying to create children object with a bad/non-existent backend-backed Device does not cause a bad memory read when trying to access a nullptr. Bug: b:333756600 b:333641451 Change-Id: Idd0f754c46d265d45e4d89a96f4756b982bcd746 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/183422 Commit-Queue: Loko Kung <lokokung@google.com> Reviewed-by: Austin Eng <enga@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.