Function block_on_wgpu
pub fn block_on_wgpu<F>(device: &Device, fut: F) -> <F as Future>::Outputwhere
F: Future,Expand description
Block on a future, polling the device as needed.
This will deadlock if the future is awaiting anything other than GPU progress.