-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rejection on createComputePipelineAsnyc causes timout in tests #3809
Comments
related #3157 |
Thanks for the report, definitely something going wrong here. Because the promise is created before it's awaited, this is causing an unhandledrejection (see #3159). I don't know why that results in a hang, though - the intent was that it would eventually reach the |
It looks like that we never reach |
So the timeout was caused by never resolving
batchFinishedCallback was never called, due to rejection on
batchesInFlight ); see #3844.
|
Fixed in #3844. |
this happens because rejection is not handled. Example:
cts/src/webgpu/shader/execution/expression/expression.ts
Line 1179 in 85678b2
(there are more such places).
You can see live example here: https://sagudev.github.io/cts/standalone/?runnow=1&q=webgpu:shader,execution,expression,binary,f32_subtraction:scalar_vector:inputSource=%22const%22;* which has rejection hard-coded sagudev@615b943 (reproducible on Edge).
This is problem in servo because some things are not supported yet (so promise does reject).
The text was updated successfully, but these errors were encountered: