TODO
两个试验我的项目
- https://github.com/Triadica/lagopus.ts
- https://github.com/Triadica/soluble
uniform buffer 的编码规定. 数据会依照大小对齐, 然而编码的时候
https://www.w3.org/TR/WGSL/#address-space-layout-constraints
能够试试本人加上 padding 来 buffer
https://stackoverflow.com/questions/74186801/is-there-any-way-to-enforce-a-16-byte-alignment-for-a-uniform-buffer-in-glsl
依照文档说的, 不止对 uniform buffer 是这样, 我还没解决过.
没有 FBO 怎么办.
https://www.cnblogs.com/onsummer/p/the-missing-fbo-and-rbo-in…
整体思路能够参考 blur 的做法, 至多能跑通的,
https://webgpu.github.io/webgpu-samples/samples/imageBlur#../…
TODO