juj/wasm_webgpu

Error in wgpu_queue_write_texture and wgpu_queue_copy_external_image_to_texture

brendan-duncan opened this issue · 1 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).

juj 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.