| commit | 1e95e82b4163ee7931a7d46fc10cf8108922b65b | [log] [tgz] |
|---|---|---|
| author | Geoff Lang <geofflang@chromium.org> | Wed Nov 05 11:54:32 2025 -0800 |
| committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Nov 05 11:54:32 2025 -0800 |
| tree | e195458d7a09550045c526f3c50313c0dd883501 | |
| parent | 8de59300aef1dd3c4e3bff6fb27a72205ec2b726 [diff] |
Avoid holding the device lock in CreatePipelineAsyncEvent callbacks. Gather the arguments needed for mCallback and then release the device lock before calling it. If mCallback is reentrant and releases the device, DeviceBase::FlushCallbackTaskQueue assumes that the lock is not held. Bug: 448426209, 448892602, 442827275 Change-Id: I378d6f44800d426c05974369f584a9aaccc6b00b Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/271455 Commit-Queue: Geoff Lang <geofflang@chromium.org> Reviewed-by: 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.