1、下载项目。
git clone https://github.com/gpuweb/gpuweb.git
2、安装依赖。
sudo apt install python3-pip
sudo apt install nodejs npm
pip install bikeshed diagrams tree_sitter
3、编译项目。
cd gpuweb/wgsl
make all
转载请注明转自www.hylab.cn,原文地址:WebGPU离线文档制作:使用Ubuntu编译WebGPU文档