This is a WebGPU + WASM example repo.
-
basic
WebGPU running on WASM and bundling with Webpack. -
offscreen-on-worker Drawing on web worker using offscreen canvas and wgpu.
-
composite-shader
Test using naga_oil to compose shader sources. -
webgpu-or-webgl
Check browser support out and choose WebGPU or WebGL. -
wgpu-gl-surfaces
Trouble shooting for multiple surfaces of wgpu WebGL2 context.