From ffb8793640c4c7c85ebcb0888944fd4cee080ffd Mon Sep 17 00:00:00 2001 From: cdozdil Date: Sun, 13 Sep 2026 23:16:08 +0300 Subject: [PATCH] Disabled 2 Dx11 flushes, rely on gpu syncing Looks like these were from optinal CPU syncing era --- OptiScaler/with_dx12/dx11_with_dx12.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/OptiScaler/with_dx12/dx11_with_dx12.cpp b/OptiScaler/with_dx12/dx11_with_dx12.cpp index 3fb1a705..ab07c49d 100644 --- a/OptiScaler/with_dx12/dx11_with_dx12.cpp +++ b/OptiScaler/with_dx12/dx11_with_dx12.cpp @@ -224,7 +224,8 @@ bool Dx11WithDx12::SyncDx11ToDx12() return false; } - Dx11DeviceContext->Flush(); + // Games flush should be enough, so disabled for now + // Dx11DeviceContext->Flush(); result = Dx12CommandQueue->Wait(Dx12FenceTextureCopy, fenceValue); if (result != S_OK) @@ -964,6 +965,9 @@ bool Dx11WithDx12::CopyUpscalerOutputToDx11(UINT frameIndex) } Dx11DeviceContext->CopyResource(cache.ParamOutput[outputIndex], cache.Output[outputIndex].SharedTexture); - Dx11DeviceContext->Flush(); + + // Games flush should be enough, so disabled for now + // Dx11DeviceContext->Flush(); + return true; }