3 ms·
Yes wgpu is a much lighter build and has a lot going for it. The situation has gotten a lot better for both dawn and wgpu integration in C++ with: https://git
by austinvhuang 2y ago
Yes wgpu is a much lighter build and has a lot going for it.
The situation has gotten a lot better for both dawn and wgpu integration in C++ with:
https://github.com/eliemichel/WebGPU-distribution/ https://github.com/eliemichel/WebGPU-distribution/
Getting a shared library build was a revelation though, credit to:
https://github.com/jspanchu/webgpu-dawn-binaries https://github.com/jspanchu/webgpu-dawn-binaries
because the FetchContent cache invalidations would still periodically lead to recompiling which gets quite annoying. When it's just a matter of linking you get few-second builds consistently. The cost is we'll have a bit of hardening around potential ABI bugs but it's ultimately worth it.
We'll work towards wgpu support. There's some sharp edges in the non-overlap w/ dawn which seem most pronounced with the async handling (which is pretty critical), but I don't think anything is a hard blocker.
- thrtythreeforty 2y agoWebGPU-distribution is news to me; thanks for the link!