Elie Michel
Elie Michel
This was fixed in #93 (which is temporarily a bit convoluted due to wgpu-native not behaving per the standard yet).
Which backend do you use (dawn or wgpu-native)? I never had to re-query the surface when resizing, I believe you shouldn't need to call glfwGetWGPUSurface again.
SOrry for the late reply: here is a variant of step30 that supports resizing: [`step030-resize`](https://github.com/eliemichel/LearnWebGPU-Code/tree/step030-resize). Tested with wgpu-native on Windows, let me know if it works for you, and if...
Oh I guess I should have shared here that I had used a sort of `wgpu.yml` to test the generation scripts in [this PR](https://github.com/webgpu-native/webgpu-headers/pull/462): FWIW [`webgpu-sample-extension.yml`](https://github.com/webgpu-native/webgpu-headers/blob/84289614109a8ea26aafe1757ad9d1032a9fab39/tests/extension/webgpu-sample-extension.yml) might be used to...
It is correct, thx! Just missed the notification at the time sorry!
Workaround that imports the bits of PR#21987: https://github.com/eliemichel/cpp20-cmake-emscripten-template
Each code comes with the version of WebGPU-distribution that it was written for (ins its [`webgpu`](https://github.com/eliemichel/LearnWebGPU-Code/tree/step030/webgpu) directory), it should not be expected to work out-of-the-box for another version of WebGPU,...
Thanks everyone for the quick reaction! > All MkDocs does is accept a bunch of config options and pass those on to the Markdown library. Resolving paths and loading extensions...
Will do! Thanks for adding these defines.
I haven't forgotten this, only wgpu-native and Dawn have been particularly desynchronized lately; working upstream on bringing missing bits to uniformization.