Is it possible to request a certain swapchain image format when SDL creates the Vulkan swapchain for its window? Is such a feature even desired?
Background: I started to work on a program using Vulkan and OpenVR. The OpenVR compositor only accepts a limited list of image formats and SDL chooses an incompatible image format for the swapchain on the desktop output window. This creates a ripple effect: render passes are incompatible between the headset and the desktop window which means that pipelines cannot be shared and would need to be duplicated. I would very much like to avoid that.
The OpenVR Vulkan demo avoids this by trying to pick the same image formats for the headset framebuffer and desktop window. But it contains the whole swapchain creation code itself, which I had hoped to avoid for my program.