From b2fdb58e340cf32fcd958f42e7f445723abd17b0 Mon Sep 17 00:00:00 2001 From: cdozdil Date: Wed, 29 Oct 2025 01:31:10 +0300 Subject: [PATCH] Added more logs --- OptiScaler/inputs/FG/FfxApi_Dx12_FG.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/OptiScaler/inputs/FG/FfxApi_Dx12_FG.cpp b/OptiScaler/inputs/FG/FfxApi_Dx12_FG.cpp index 74a519b0..805d1f4a 100644 --- a/OptiScaler/inputs/FG/FfxApi_Dx12_FG.cpp +++ b/OptiScaler/inputs/FG/FfxApi_Dx12_FG.cpp @@ -1049,6 +1049,10 @@ void ffxPresentCallback() fg->SetResource(&hudless); } } + else + { + LOG_ERROR("Present callback failed: {:X}", (UINT) result); + } currentBuffer->Release(); @@ -1132,6 +1136,10 @@ void ffxPresentCallback() fg->SetResource(&hudless); } } + else + { + LOG_ERROR("Frame Generation callback failed: {:X}", (UINT) result); + } currentBuffer->Release();