Open pierricgimmig opened 1 year ago
Compiling and running step095 on Ubuntu 22.04 work without a hitch.
Is it a ARM (M1) or an x64 CPU? I may be able to test on a mac soon.
What's your screen resolution? See: https://github.com/eliemichel/LearnWebGPU-Code/issues/30
I stumbled upon this as well.
The issue is that the adapter is released right after device is requested, and then bit later m_surface.getPreferredFormat(adapter)
is called on already released adapter. Seems to solve the issue if you release the adapter later. @eliemichel
When launching the app built from a clean branch step095 on MacOS, I get: