mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-09-24 14:25:42 +00:00
Add missing FG ngx params
This commit is contained in:
@@ -494,6 +494,9 @@ inline static void InitNGXParameters(NVSDK_NGX_Parameter* InParams)
|
||||
if (State::Instance().activeFgInput == FGInput::Nukems || State::Instance().activeFgInput == FGInput::DLSSG)
|
||||
{
|
||||
InParams->Set("FrameGeneration.Available", 1);
|
||||
InParams->Set("FrameGeneration.NeedsUpdatedDriver", 0);
|
||||
InParams->Set("FrameGeneration.FeatureInitResult", 1);
|
||||
InParams->Set("FrameGeneration.MinDriverVersionMajor", 0);
|
||||
InParams->Set("FrameInterpolation.Available", 1);
|
||||
InParams->Set(NVSDK_NGX_Parameter_FrameInterpolation_NeedsUpdatedDriver, 0);
|
||||
InParams->Set(NVSDK_NGX_Parameter_FrameInterpolation_FeatureInitResult, 1);
|
||||
@@ -508,6 +511,10 @@ inline static void InitNGXParameters(NVSDK_NGX_Parameter* InParams)
|
||||
InParams->Set(NVSDK_NGX_Parameter_FrameInterpolation_MinDriverVersionMajor, 0);
|
||||
}
|
||||
}
|
||||
|
||||
// Multi Fake Frames not supported by Nukems
|
||||
if (State::Instance().activeFgInput == FGInput::Nukems)
|
||||
InParams->Set("DLSSG.MultiFrameCountMax", 1);
|
||||
}
|
||||
|
||||
struct Parameter
|
||||
|
||||
Reference in New Issue
Block a user