juj / wasm_webgpu

System headers for interfacing WebGPU from C programs compiled via Emscripten to WebAssembly
BSD 3-Clause "New" or "Revised" License
331 stars 26 forks source link

Support for Timestamp queries? #21

Closed alienself closed 1 year ago

alienself commented 1 year ago

Hi again!

Any chance to get support for timestamp queries? It seems like the calls are missing from the API (there are no WGPU_QUERY_TYPE_TIMESTAMP) ?

juj commented 1 year ago

Thanks, these were missing. Added them now in the above commits. Let me know if there are any issues with them, unfortunately I don't have a test case atm for any of this.