mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-09 06:35:54 +00:00
When the fuzzer passes the command DeviceLoseForTesting, the DawnWireServerFuzzer will hang forever when waiting for a fence signal because the device was lost. This commit sets a callback on device loss which gives an extra condition to break the hang. Bug: dawn:444 Change-Id: I0157358ed6da39cc6fcab7e1be8a3d5fde74266f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/23141 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Natasha Lee <natlee@microsoft.com> Commit-Queue: Brandon Jones <brandon1.jones@intel.com>