commit | ceb5a775399f788b1836c9ba2216171f6f844d88 | [log] [tgz] |
---|---|---|
author | Peng Huang <penghuang@chromium.org> | Wed Jan 31 20:37:50 2024 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 31 20:37:50 2024 +0000 |
tree | 2cbfb20a67793c12b416610fed1a5fef956017e1 | |
parent | a0b1a226c1e1d64e947e1626f0a32b4ddb900523 [diff] |
Fix deadlock with d3d11 backend The deadlock is because mD3D11Multithread->Enter() and mD3D11Multithread->Leave() are not called in pair in CommandRecordingContextGuard, due to dawn::detail::Guard's move ctor doesn't reset rhs object, so the rhs's dtor calls Leave() incorrectly. Bug: none Change-Id: I7a2b1ebc4785b0c903ade6471f2433dd72ed4428 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/172500 Commit-Queue: Peng Huang <penghuang@google.com> Kokoro: Peng Huang <penghuang@google.com> Reviewed-by: Austin Eng <enga@chromium.org>
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.