Vulkan: Don't wait for destroyed fences
If while checking for fences we get VK_DEVICE_LOST_ERROR we perform cleanup by calling vkWaitForDeviceIdle and calling all cleanup callbacks and destroying fences. All destroyed fences should be considered as passed after this point to avoid waiting on them. This is speculative fix for gpu process hangs. Bug: 1062731 Change-Id: I18253126e646158735e813e72a143969717db6fd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2108915Reviewed-by:Peng Huang <penghuang@chromium.org> Commit-Queue: Vasiliy Telezhnikov <vasilyt@chromium.org> Cr-Commit-Position: refs/heads/master@{#751657}
Showing
Please register or sign in to comment