GPUs Unleashed! Make Your Games More Powerful With wasi-gfx
summary
A concrete claim: wasi-gfx ports WebGPU into WASI so browser GPU code runs as sandboxed desktop plugins; the demo compiles Bevy to Wasm and renders 27 million triangles into a host, with benchmarks showing ~80% of native at P95 for CPU‑heavy math. The implementation uses wasi-webgpu/wgpu and a runtime that maps WGPU↔DX12 resources, exposes surfaces/framebuffers, and adds plugin metering, resource caps and FFI C++ wrappers so integration with existing engines actually works.
AI-written summary · about
chapters (17)
- 0:00Intro
- 0:32How 3D is built today
- 2:38Content is expensive to build
- 3:27Plugins
- 6:15Web GPU
- 8:30Demo
- 11:15Back Buffer
- 13:28Map Viewer
- 14:40Challenges
- 15:51C and Rust
- 17:06Performance
- 19:13DX12 Integration
- 20:24RenderLit Runtime
- 20:46Game Example
- 23:39Restrictions
- 26:05Content Flexibility
- 26:32Questions
related talks
30mWasi-Webgpu: Build Beautiful Graphics and Safely Run AI with Any GPU
26mBevy, WASM and the browser
25mPathfinder to GPU Offload in WASM
23mMap rendering using WebGPU and WASM
24mContent Authenticity Initiative Trustmark With WASI WebGPU
14mWasm, WebGPU, & WebNN: How compute abstraction are enabling client side AI
50mWeb Assembly
29mWebAssembly - the Final Frontier
