|author||Loko Kung <firstname.lastname@example.org>||Thu Sep 22 23:45:36 2022 +0000|
|committer||Dawn LUCI CQ <email@example.com>||Thu Sep 22 23:45:36 2022 +0000|
Add cleanup when encoding indirect draw validations. - Cleanup is necessary because otherwise encoded render commands may be leaked if the validation encoding fails. (The leaked render commands can then trigger an assert in ~Device::Cache because the commands can hold a ref to an AttachmentState that was not destroyed, and hence still be in the device cache. - Added explicit check in EncoderIndirectDrawValidationCommands for device 'alive-ness' since it may create new objects later and hit the same error later on anyways. - Added regression test. Fixed: chromium:1365011 Change-Id: I342479a4227fc43d82ea35f662d049e6db2b1740 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/103340 Reviewed-by: Austin Eng <firstname.lastname@example.org> Commit-Queue: Loko Kung <email@example.com> Kokoro: Kokoro <firstname.lastname@example.org>
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.hversion that Dawn implements.
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
Apache 2.0 Public License, please see LICENSE.
This is not an officially supported Google product.