commit | e3ff67cb5c9b5b40978332d432c5585d602ab048 | [log] [tgz] |
---|---|---|
author | Loko Kung <lokokung@google.com> | Fri Oct 13 02:16:49 2023 +0000 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Oct 13 02:16:49 2023 +0000 |
tree | 565a52a08c27d32d737c4eb38e3dcc72bf35cbea | |
parent | 76ed4bdfd9957bf201c9cb17b37c64260325d303 [diff] |
Track error command encoders on the device in Dawn. - Currently, attachment states are not directly destroyed by Device::Destroy, and are instead assumed to be cleaned up when we destroy all other device tracked objects. This was a problem because error command encoders are NOT tracked by the device, but can hold references to attachment states (since they pretend to work). That means that when the last reference to a device was dropped before the last reference of the error command encoder, any attachment state help by the encoder cannot uncache itself from the device frontend cache before the device was gone. Bug: chromium:1487788 Change-Id: I713d1b8d17464250231f8eb83181e5c71d34c4f2 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/155981 Reviewed-by: Austin Eng <enga@chromium.org> Commit-Queue: Loko Kung <lokokung@google.com> Kokoro: Kokoro <noreply+kokoro@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)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.