Open anchpop opened 1 day ago
Each code comes with the version of WebGPU-distribution that it was written for (ins its webgpu
directory), it should not be expected to work out-of-the-box for another version of WebGPU, because the standard is evolving too fast. As far as CI is concerned, step030
seems to compile correctly: 10680639938.
This will get better when the standard reaches v1 and thus gets stable, but for now I cannot provide day to day update of the entire guide! (Especially since in the past months the various implementations have been very desynchronized.)
Note that it is perfectly fine in practice to freeze to a given version of WebGPU. If you stick with the same distribution (and the same version of emscripten if you're targetting the web), you can maintain your project for a while. I've been maintaining projects based on a version of WebGPU that is now more than 1 year old, and I am nonetheless still able to run it on latest Chrome.
Leaving this open because I'll eventually have to make this change indeed (during the next wave of upadte). Note that I've already upgraded glfw3webgpu, in case you want to use a recent version of Dawn in a new project.
This causes the example at hello-triangle to no longer compile