mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-09-23 05:46:27 +00:00
Move start frame to SetUpscalerInputs
This commit is contained in:
@@ -940,6 +940,12 @@ void FSR3FG::SetUpscalerInputs(ID3D12GraphicsCommandList* InCmdList, NVSDK_NGX_P
|
||||
if (State::Instance().activeFgInput != FGInput::FSRFG30 || fg == nullptr || _device == nullptr)
|
||||
return;
|
||||
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(_newFrameMutex);
|
||||
fg->StartNewFrame();
|
||||
_uiRes[fg->GetIndex()] = {};
|
||||
}
|
||||
|
||||
fg->EvaluateState(_device, _fgConst);
|
||||
|
||||
// FSR Camera values
|
||||
|
||||
Reference in New Issue
Block a user