You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The compute example uses wgpuDevicePoll to block until the memory is mapped. This works, but wgpuDevicePoll is wgpu-specific and in particular does not work with Emscripten. The JS API returns a promise that can be used for blocking here, but how would I do it with wgpu-native? I understand that the webgpu.h header is WIP, so is this just a problem that hasn't been addressed yet?
The text was updated successfully, but these errors were encountered:
The compute example uses wgpuDevicePoll to block until the memory is mapped. This works, but
wgpuDevicePoll
is wgpu-specific and in particular does not work with Emscripten. The JS API returns a promise that can be used for blocking here, but how would I do it with wgpu-native? I understand that the webgpu.h header is WIP, so is this just a problem that hasn't been addressed yet?The text was updated successfully, but these errors were encountered: