commit | 01f831a58c7804c47805510e2c918aa16eb238f6 | [log] [tgz] |
---|---|---|
author | Loko Kung <lokokung@google.com> | Tue Nov 07 00:46:56 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Nov 07 00:46:56 2023 +0000 |
tree | 73eae3bae160829336849df8a9cfb905c502940d | |
parent | ab528c7875ccc7481506f213b26a5317bc859337 [diff] |
[WGPUFuture] Update MapAsync with futures. - Small update in EventManager to pass through the future id when completing an event. (Useful for validation and in mapAsync case to determine whether the request was the same one. - Updates TrackedEvent to share request information with the Buffer so that we can make sure that the transitions in the Buffer happen when the callbacks are triggered. This wasn't a problem before because the callbacks always use to trigger when the server responded, but now they may need to wait for a WaitAny or ProcessEvents call. - Updates all the MapAsync tests (and audit the tests in general) to use the new Future test infra. Lots of test cleanups and modernizations to make sure we have concise coverage. Bug: dawn:1987 Change-Id: I6bb044e8a958fd72bdb670647ec4590d4a669459 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/157184 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Kokoro: Kokoro <noreply+kokoro@google.com> Commit-Queue: Loko Kung <lokokung@google.com>
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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.