commit | e8d5678b704ac881d0325f73f71168e31333fe04 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Wed Apr 06 01:14:33 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Apr 06 01:14:33 2022 +0000 |
tree | 2d8429e4aa70dd17b6abc8f6e1488a330fce864c | |
parent | 8d9d132f7cd1fe22c4ca88d580195951ca49c276 [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. 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>
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.