-
-
Notifications
You must be signed in to change notification settings - Fork 86
Description
I'm using linux + wayland + vulkan backend.
(Fedora, Gnome)
-
In GLFW3 WebGPU Extension part, the
glfw3webgpu.cin oldglfw3webgpu.zipalways fallback to X11 code and make a crash.Because
_GLFW_WAYLANDis set to private in glfw's src/CMakeLists.txt, so the oldglfw3webgpu.ccannot detect wayland.
I see glfw3webgpu changed a lot. would be nice to update the tutorial with new code -
glfw window won't show up, until finish the later chapter
first color.
(could be the same problem in Build with GLFW Wayland #42)this can be reproduced by comment out this line
wgpuQueueSubmit(...)in example code offirst color.
could be related: "Wayland will only display the window once a write to the compositor's buffer is actually attempted. When using Vulkan, the Window should only appear after calling VkQueuePresentKhr()"