-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WebGPU] Device lost promise takes too long to resolve
https://bugs.webkit.org/show_bug.cgi?id=269019 <radar://122582535> Reviewed by Dan Glastonbury. We weren't resolving onSubmittedWorkDone in a timely fashion when the device was lost, leading to perceived hang running api,validation,state,detroy,* tests. * Source/WebGPU/WebGPU/Device.mm: (WebGPU::Device::loseTheDevice): * Source/WebGPU/WebGPU/Queue.h: (WebGPU::Queue::makeInvalid): Deleted. * Source/WebGPU/WebGPU/Queue.mm: (WebGPU::Queue::makeInvalid): (WebGPU::Queue::onSubmittedWorkDone): (WebGPU::Queue::onSubmittedWorkScheduled): Canonical link: https://commits.webkit.org/274482@main
- Loading branch information
1 parent
52ba501
commit dd3938f
Showing
3 changed files
with
28 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters