Queue::on_submitted_work_done
Does Not Obey WebGPU Ordering Contract
#4024
Labels
type: bug
Something isn't working
Milestone
Description
The wgpu spec specifies the following about promise ordering:
Repro steps
Submit a piece of work. Block until it is done. Call
map_async
on a buffer touched by that submit, then callon_submitted_work_done
. The callback foron_submitted_work_done
will immediately fire, despite themap_async
callbacks not happening.Other
Should be pretty easy to fix this, we just need to remove the optimistic immediate call of the callback. Will try to fix this tomorrow.
The text was updated successfully, but these errors were encountered: