Commit Graph

4 Commits (wasm)

Author SHA1 Message Date
James T. Martin a0ae573258
Ported to WASM + WebGPU. (Untested.)
I was not able to test this because:

* Firefox nightly does not support the WebGPU spec of wgpu 0.13
* Chrome Dev WebGPU does not work consistently on AMD+Linux
* I don't feel like setting up a Windows VM or reverting wgpu

Pushing onto a separate branch for whenever Firefox gets updated,
so I can test it then.
2022-07-09 00:19:58 -07:00
James T. Martin 7fb393ddda
Use uniform buffer instead of push constants.
This will allow for compatibility with WebGPU.
2022-07-08 14:16:34 -07:00
James T. Martin bc1d6a27f7
Update to wgsl 1.13. 2022-07-08 12:09:00 -07:00
James T. Martin 95fc851525
Initial commit. 2022-07-08 11:55:42 -07:00