Skip to content

Remove failure breaks from webgpu thread - #32814

Merged
sagudev merged 3 commits into
servo:mainfrom
sagudev:no-break
Jul 20, 2024
Merged

sagudev merged 3 commits into
servo:mainfrom
sagudev:no-break

Conversation

@sagudev

@sagudev sagudev commented Jul 19, 2024 •

Copy link
Copy Markdown
Member

Only breaking of main loop for thread exit is allowed.


  • There are tests for these changes in WebGPU CTS

@sagudev

sagudev commented Jul 19, 2024

Copy link
Copy Markdown
Member Author

there are failures in webgpu:api,operation,adapter,requestDevice:limit,out_of_range:*, but before it was timeout, so it's still improvement. We need to raise TypeError in some cases of errors instead of only OperationError, but that will be done as a follow up, as we also need to get wgpu errors on js side (wgpu errors need to be serializable, there is already PR in wgpu for that).

@sagudev
sagudev marked this pull request as ready for review July 19, 2024 15:15
Comment thread components/webgpu/wgpu_thread.rs Resolved
@sagudev
sagudev added this pull request to the merge queue Jul 20, 2024
Merged via the queue into servo:main with commit b471f64 Jul 20, 2024
@sagudev
sagudev deleted the no-break branch July 20, 2024 21:07
Gae24 pushed a commit to Gae24/servo that referenced this pull request Jul 26, 2024
* Remove breaks from webgpu requests

Signed-off-by: sagudev <[email protected]>

* expect

Signed-off-by: sagudev <[email protected]>

* limit,out_of_range TIMEOUT->FAIL

Signed-off-by: sagudev <[email protected]>

---------

Signed-off-by: sagudev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

webgpu thread exits if requestDevice/requestAdapter fails

2 participants