commit | 9a0e28288f51982a3604236359204b387e15c8cb | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Fri Mar 10 00:41:44 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Mar 10 00:41:44 2023 +0000 |
tree | 6f926b6629886ee7ee939ff865f415623ee01bec | |
parent | 39b7330b5b509e7c4111faf17f6f489d719bc319 [diff] |
Vulkan: make mappableBuffersForEagerTransition ref buffers There are some scenarios where buffers can be used in pending commands that are not retained by a command buffer. They must be retained in the set of mappable buffers for eager transition to prevent a use-after-free violation. No-Try: true Fixed: chromium:1421170 Change-Id: I452d80b2513a7726a003d44e2a7850292d798bb1 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/122580 Auto-Submit: Austin Eng <enga@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Austin Eng <enga@chromium.org> Reviewed-by: Loko Kung <lokokung@google.com> Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Peng Huang <penghuang@chromium.org> (cherry picked from commit aaae3ffadafafe1fea4fa141420b939bc82e2934) Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/123041
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.