Details
-
Technical task
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
None
Description
If we don't want to proxy all calls to web gpu js API via emscripten::val, we need to use a passthrough.
https://github.com/juj/wasm_webgpu might be well-suited for that purpose, but evaluation is needed.
https://emscripten.org/docs/porting/connecting_cpp_and_javascript/Interacting-with-code.html#implement-a-c-api-in-javascript could be helpful