commit | ad541a7cdd92c10cfb5433440a5783e492d3f032 | [log] [tgz] |
---|---|---|
author | Takahiro <hogehoge@gachapin.jp> | Sat Dec 17 04:24:05 2022 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Dec 17 04:24:05 2022 +0000 |
tree | 591cfedf7e2f418f191ca9166ccca82021b5141e | |
parent | 0fcc00e22a1744580560b8c3c7f75c6e0d7002ca [diff] |
Immediate Buffer.MapAsync() rejection if pending map in Wire This immediate rejection has been implemented in Native but hasn't been yet in Wire. This commit adds the implementation to Wire. Also the commit changes the MapAsync callback firing timing if pending map buffer is unmapped or destroyed. With this commit the callback will be fired immediately Unmap or Destroy is called to match the WebGPU spec. Currently the callback is fired when the client receives a response from server but it mismatches the spec. Change-Id: Ia48d62be31912fd0384e23271e9de516f9d71d6c Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/113607 Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Takahiro <hogehoge@gachapin.jp> Reviewed-by: 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.