Replies: 1 comment 3 replies
-
Yeah I came across this in #5012 and was surprised it was completely unimplemented. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a for loop that submits a compute pass every iteration. On native, I can use
So that I can wait in between iterations of the loops and the next work is submitted only after previous is complete
I have been porting over my app to wasm, now I know in browsers poll won't do anything so I tried using
on_submitted_work_done
as followsWhen running in Chrome I get a panic at
gpu.queue.on_submitted_work_done(move || sender.send(()).unwrap());
stating it's not implementedaccording to MDN
on_submitted_work_done
was implemented in chrome 113, (I am running chrome 120). I am assuming wgpu has yet to implement this.So how can I perform a wait now? or should I just wait for wgpu to catch up
Beta Was this translation helpful? Give feedback.
All reactions