juj/wasm_webgpu

wgpu_buffer_map_async does not work: unable to write to buffer after creation.

alienself opened this issue · 1 comments

Hey,

I am unable to use wgpu_buffer_map_async after creating my buffer.
When calling this function I get the following error:

wgpu_buffer_map_async(buffer=7, callback=7, userData=0, mode=1, offset=0, size=-1)
Aborted(assert(wgpu[buffer]) failed!)
app.js:8 Uncaught RuntimeError: Aborted(assert(wgpu[buffer]) failed!). Build with -sASSERTIONS for more info.
juj commented

Reads like you got it resolved as closed, this was maybe issue #33(?)