Graphical bug with file descriptor rendering.
I'm using Vulkan with Linux DRM and I'm using the `VK_KHR_external_memory_fd` extension in order to make use of both Vulkan's speed and DRM's control.
I'm only rendering one white triangle and there's a graphical bug appearing on the monitor where a huge row of pixels doesn't appear, showing instead the render pass' clear value.
I've noticed the thickness of the rows of pixels shrinks with the resolution. Anything under HD and the graphical issue completely disappears.
I've used RenderDoc to remotely debug the rendering and nothing appears wrong on the Vulkan side of things.
My theory is it has something to do with either DRM or the signal in the wire, but then if I've compiled my application in Debug and I've enabled the RenderDoc layer, then, and only then, will the bug disappear. It appears again if the layer is disabled or if I build in Release.
Ideas, theories, anything would be appreciated.