
WebGPU and WGSL (WebGPU Shading Language) are W3C standards for GPU acceleration on the Web.
There are also implementations of WebGPU in other languages, for both WebAssembly and native applications.
webgpu.org is a work in progress - contribute here!
Implementation Status
- The
public-gpu@w3.org mailing list is a good place to ask questions or provide feedback on the API.
- You can also join the chat on Matrix in the “Web Graphics” Matrix Community: #webgraphics:matrix.org.
Samples & Demos
- WebGPU Samples - sample code and demos of various features and graphics/compute techniques
Learning Resources
Specifications & Documents
Libraries implementing WebGPU
- wgpu - Rust, used in Firefox, Servo, and Deno
- Available for: Rust, C (wgpu-native - contributions wanted)
- Native + WebAssembly
- Dawn - C++, used in Chrome, Edge, and other Chromium browsers
- Available for: C, C++, Node
- Native only
- Emdawnwebgpu - bindings for Emscripten
- WebAssembly only, via Emscripten