These would be required in order to run the WebGPU CTS (cc @kainino0x). I wonder if we can auto-generate it from Rust, like we generate C bindings.
My thought is that we can share a Node bindings layer, atop a common C interface. It could reduce the amount of work and maintenance here. However, if you can just generate JS bindings that match WebGPU, it would also be good.
@kainino0x do you plan to generate bindings from dawn.json or write them manually?
So far I have written a few entry points manually. In the long run, I'm hoping to use an easier mechanism (maybe node-ffi if it can possibly work?), but otherwise may try to at least partially generate them from dawn.json.
Are there any updates on the Node bindings?
Also, would they be added to this repository, or a separate one like wgpu-native?
Most helpful comment
Are there any updates on the Node bindings?
Also, would they be added to this repository, or a separate one like
wgpu-native?