commit | 211e96c6069c66c6d503cfa2b35226c7118c7927 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Thu Apr 07 15:57:44 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 07 15:57:44 2022 +0000 |
tree | e2c898aab0eb339c5b0019ec9d82c86a69cde8f2 | |
parent | 28a3c8947e8f1f4abec6d67ebcba695a619ca63c [diff] |
Fix use-after-free of committed resource heaps Heaps were destroyed immediately instead of deferring destruction until after all work using the buffer was complete. This is only a problem on D3D12. Vulkan allocations already have deferred deletion, and Metal allocations are managed by the driver. No-Try: true Bug: chromium:1313172 Change-Id: I0ef43709949c9e86c40e766f7f2029b14c8a2e97 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/85840 Reviewed-by: Brandon Jones <bajones@chromium.org> Commit-Queue: Austin Eng <enga@chromium.org> (cherry picked from commit e8d5678b704ac881d0325f73f71168e31333fe04) Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/85867 Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Dawn is an open-source and cross-platform implementation of the work-in-progress 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)
(TODO)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.