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

wgpu_device_create_bind_group doesn't support GPUBufferBinding

brendan-duncan opened this issue · comments

This function doesn't seem very well suited for a C interface with it's polymorphic input.

wgpu_device_create_pipeline_layout will have similar issues.

commented

Fixed wgpu_device_create_bind_group() in above commit. (though I don't have a test program) I am not sure I saw the issue with wgpu_device_create_pipeline_layout().