commit | 46e3e213b0464d7c0ecb99fcb30701d69fa9fe24 | [log] [tgz] |
---|---|---|
author | Takahiro <hogehoge@gachapin.jp> | Thu Jan 12 02:07:48 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 12 02:07:48 2023 +0000 |
tree | 4eb2bf31f8d5a6bd41af037dfdf8b57727834972 | |
parent | dc9c306a14ebf806de46c4d84005f11a52648a09 [diff] |
Fix Buffer mapState after destroyed in Wire WebGPU specification described that Buffer mapState must be "unmapped" after destroyed because Destroy() must internally call Unmap(). But in the current Wire implementation the mapState won't be "unmapped". The root issue is that Destroy() doesn't update mMapState in Wire. This commit fixes the problem by updating mMapState in Destroy() in Wire. bug: dawn:1634 Change-Id: I7398510f83ebacfbc6bb33fcc070c2eab10b9c24 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/116820 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Takahiro <hogehoge@gachapin.jp>
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.