Extreme screen tearing when camera moves super fast - Synchronization issues with Vulkan swapchain frame data
Opened this issue · 1 comments
Current state of swapchain image synchronization is causing the image to tear when the camera moves really abruptly as shown below:
IMG_0052.mov
Swapchain images acquire and present code needs to be refactored to check for the image that is returned and is ready for rendering is not the one being presented, use 3 fences to check against the semaphores and fences of the 2 frames in flight as done in vulkan-tutorial.com website, current implementation is inspired by sascha's vulkan examples
============================================================
Razix Engine Stats
Version : 0.20.1
Configuration : [Debug | Release | Distribution]
Release Stage : Development
Release Date : 9-1-2022
OS : Windows 10 Home
Processor : Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz 2.60 GHz
Vulkan API Version : 1.2.186
GPU Name : NVIDIA GeForce RTX 2060
Vendor ID : 4318
Device Type : DISCRETE GPU
Driver Version : 497.116.0