LearningWebGPU icon indicating copy to clipboard operation
LearningWebGPU copied to clipboard

WebGPU tutorials inspired by LearningWebGL.com. Use both WGSL and GLSL/SPIR-V.

Results 7 LearningWebGPU issues
Sort by recently updated
recently updated
newest added

发现文章里面的代码还是旧的 WebGPU 代码,但是 code文件里面 的代码已经是最新了。 比如 [Lesson1_Triangle_and_square.md](https://github.com/hjlld/LearningWebGPU/blob/wgsl/Lesson1_Triangle_and_square/Tutorial/Lesson1_Triangle_and_square.md)一文中提到了`vertexStage`等,现在已经都统一为`vertex`和`fragment`了

想学习这个webgpu,有专门的教程吗

![image](https://github.com/hjlld/LearningWebGPU/assets/78308270/002af02d-5a98-4db6-9311-2c92ddad9acd) node 20.9.0 npm 10.1.0

Lesson2的wgsl出现警告,导致页面无法渲染了

The YUV data has been converted into Uint8Array. Next, I want to render it to the canvas through webgpu, but after trying, it fails. Have any good ideas or sample...

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 2.9.15 to 2.9.16. Changelog Sourced from vite's changelog. 2.9.16 (2023-05-26) fix: port #13348 to v2, fs.deny with leading double slash (#13350) (7d8100a), closes #13348 #13350 Commits ea814d7...

dependencies

context.getPreferredFormat 变成了 navigator.gpu.getPreferredCanvasFormat();