commit | e536775b409a322230e22c67c536e46243f6c40c | [log] [tgz] |
---|---|---|
author | Takahiro <hogehoge@gachapin.jp> | Thu Dec 08 04:49:32 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 08 04:49:32 2022 +0000 |
tree | 4fe84f24ae352d35de71003b9a44a18dbb38edbe | |
parent | 5f764d8527a44ba6657fd99e55a1930553efe3a1 [diff] |
Distinguish Map request callback fired by device Currently Buffer doesn't distinguish Map request callback fired by device. For example if buffer.MapAsync(), buffer.Unmap(), and buffer.MapAsync() are called in this order before the first MapAsync() finishes the MapAsync callback provided by application for the first MapAsync() is fired when Map request callback for the first MapAsync() is fired by device although the first MapAsync callback provided by application shouldn't be fired because it is already unmapped. This commit resolves this problem by assigning MapRequestId to Map request and distinguishing the callback fired by device. Change-Id: Ic29b02d27cffb254616dc7b48a60151c39f667e2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/113222 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Kokoro: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Kai Ninomiya <kainino@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.