diff --git a/OptiScaler/inputs/NVNGX_DLSS_Dx12.cpp b/OptiScaler/inputs/NVNGX_DLSS_Dx12.cpp index 8e62d060..afb0f3e4 100644 --- a/OptiScaler/inputs/NVNGX_DLSS_Dx12.cpp +++ b/OptiScaler/inputs/NVNGX_DLSS_Dx12.cpp @@ -1060,6 +1060,9 @@ static NVSDK_NGX_Result TryEvaluateOptiFeature(ID3D12GraphicsCommandList* InCmdL // Evaluate the feature bool evalSuccess = false; { + // Resource tracking + UpscalerInputsDx12::UpscaleEnd(InCmdList, InParameters, feature); + ScopedSkipHeapCapture skip {}; evalSuccess = feature->Evaluate(InCmdList, InParameters); } @@ -1070,8 +1073,6 @@ static NVSDK_NGX_Result TryEvaluateOptiFeature(ID3D12GraphicsCommandList* InCmdL // Upscaler time calc // Record the second timestamp UpscalerTimeDx12::UpscaleEnd(InCmdList); - - UpscalerInputsDx12::UpscaleEnd(InCmdList, InParameters, feature); } else {