Vulkan: Frame Buffer Flipping #107743

Merged
Jeroen Bakker merged 2 commits from Jeroen-Bakker/blender:vulkan-framebuffer-flipping into main 2023-05-09 09:22:34 +02:00

2 Commits

Author SHA1 Message Date
Jeroen Bakker c3663658ab Updated comments 2023-05-09 09:10:21 +02:00
Jeroen Bakker 9ba5f6d383 Vulkan: Frame Buffer Flipping
Vulkan coordinate system is flipped compared to OpenGL. This PR
flips the drawing when drawn to the on-screen frame buffer.
Offscreen frame buffers are still drawn upside down.

The flipping is done by flipping the viewport of the framebuffer.
2023-05-08 15:54:46 +02:00