July 8, 2026
6:49 a.m.
According to the Vulkan spec, it is not legal to create multiple swapchains on the same underlying native surface and this would result in validation error.
Yes, so that's what I am saying and we need to use one wl_surface for each VkSurfaceKHR the application may allocate. We could keep destroyed ones around maybe, and reuse them, but again it seems to me that this is all a bad design of the protocol, and that it *needs* to be redesigned. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11342#note_145143