From cf33352c4dae6ce0ecfbdb1913bcb9159759089e Mon Sep 17 00:00:00 2001 From: Dario Date: Thu, 19 Dec 2024 13:26:06 -0300 Subject: [PATCH] Bracey fellas. --- UnleashedRecomp/gpu/video.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/UnleashedRecomp/gpu/video.cpp b/UnleashedRecomp/gpu/video.cpp index 5c085e2c..44f7619a 100644 --- a/UnleashedRecomp/gpu/video.cpp +++ b/UnleashedRecomp/gpu/video.cpp @@ -1351,11 +1351,15 @@ void Video::CreateHostDevice() { case ETripleBuffering::Auto: if (g_vulkan) + { // Defaulting to 3 is fine if presentWait as supported, as the maximum frame latency allowed is only 1. bufferCount = g_device->getCapabilities().presentWait ? 3 : 2; + } else + { // Defaulting to 3 is fine on D3D12 thanks to flip discard model. bufferCount = 3; + } break; case ETripleBuffering::On: