commit | e846fefc34da4ba904c681cd275ada191674cfb5 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Thu Apr 07 15:57:54 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Apr 07 15:57:54 2022 +0000 |
tree | 8cb0c2673132300de27f51cea3467d7c81e91e68 | |
parent | 5dff8813a940c3ecc122e013cc32ac1f6c7a8f53 [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/+/85866 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.