commit | b8ef790f856133a2fef298184ca45f2f28b4245b | [log] [tgz] |
---|---|---|
author | Lokbondo Kung <lokokung@google.com> | Thu Jun 05 16:59:13 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 05 16:59:13 2025 -0700 |
tree | f791857911742a6c243e6d2419c948a5f5abc361 | |
parent | efa950666ed23c1346366abe21b3c94707fcf2e8 [diff] |
[dawn][native] Update WaitListEvent assertion check. - Since events can be set to be ready more than once, especially if the event is a non-spontaneous event and more state has occurred before ProcessEvents or WaitAny is called on it, we need to allow code-paths to call |Signal| more than once. That said, further calls shouldn't do anything, hence the atomic exchange check. Bug: 421746158, 415350701 Change-Id: I4ff99192dca7d07c8f6c65be7d0745f86ceba532 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/245734 Reviewed-by: Sunny Sachanandani <sunnyps@chromium.org> Commit-Queue: Loko Kung <lokokung@google.com>
Dawn is an open-source and cross-platform implementation of the 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)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.