commit | 8a68537de2a9761277b28f67f3b5e31d0db5d644 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@chromium.org> | Tue Nov 22 13:34:06 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 22 13:34:06 2022 +0000 |
tree | 44f4148f3e1a0bad6ac29da699422965a233c389 | |
parent | e02377c2b383f1d11b115dc4fc128a5161810b07 [diff] |
Check buffer state is not destroyed before internally calling unmap Calling UnmapInternal would set the state to Unmapped, allowing the buffer to be mapped again even though it is destroyed. Bug: chromium:1388920 Change-Id: Ibb4da332bafd44a0d4900c8ea5bfbd674bbc35e0 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/111121 Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Loko Kung <lokokung@google.com> Reviewed-by: Corentin Wallez <cwallez@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.