59fa82118e
Vulkan would crash when generating a thumbnail in case there is no 3D viewport in the active workspace. When this happens the front buffer is downscaled as thumbnail. We didn't create a front buffer as swap chains are handled differently. We work around this issue in the same way as Metal does. Create a dummy front framebuffer and share the surface texture. When the thumbnail generator reads from the front buffer it will read the data that was created by the back buffer. Pull Request: https://projects.blender.org/blender/blender/pulls/127393