juj / wasm_webgpu

System headers for interfacing WebGPU from C programs compiled via Emscripten to WebAssembly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error in wgpu_queue_write_texture and wgpu_queue_copy_external_image_to_texture

brendan-duncan opened this issue · comments

They get the WGpuImageCopyTexture destination object as wgpu[destination], but it's not a stored object. It should probably get it with wgpuReadGpuImageCopyTexture(destination).

commented

Good catch. Pushed a fix in above commit, though untested, as I don't currently have a test sample written up for that yet.