mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-09-22 05:15:50 +00:00
Re-enabled INVERTED_DEPTH flags for XeFG
This commit is contained in:
@@ -261,9 +261,8 @@ bool XeFG_Dx12::CreateSwapchain(IDXGIFactory* factory, ID3D12CommandQueue* cmdQu
|
||||
|
||||
params.initFlags = XEFG_SWAPCHAIN_INIT_FLAG_NONE;
|
||||
|
||||
// if (State::Instance().activeFgInput != FGInput::Upscaler &&
|
||||
// Config::Instance()->FGXeFGDepthInverted.value_or_default())
|
||||
// params.initFlags |= XEFG_SWAPCHAIN_INIT_FLAG_INVERTED_DEPTH;
|
||||
if (Config::Instance()->FGXeFGDepthInverted.value_or_default())
|
||||
params.initFlags |= XEFG_SWAPCHAIN_INIT_FLAG_INVERTED_DEPTH;
|
||||
|
||||
if (Config::Instance()->FGXeFGJitteredMV.value_or_default())
|
||||
params.initFlags |= XEFG_SWAPCHAIN_INIT_FLAG_JITTERED_MV;
|
||||
@@ -360,9 +359,8 @@ bool XeFG_Dx12::CreateSwapchain1(IDXGIFactory* factory, ID3D12CommandQueue* cmdQ
|
||||
|
||||
params.initFlags = XEFG_SWAPCHAIN_INIT_FLAG_NONE;
|
||||
|
||||
// if (State::Instance().activeFgInput != FGInput::Upscaler &&
|
||||
// Config::Instance()->FGXeFGDepthInverted.value_or_default())
|
||||
// params.initFlags |= XEFG_SWAPCHAIN_INIT_FLAG_INVERTED_DEPTH;
|
||||
if (Config::Instance()->FGXeFGDepthInverted.value_or_default())
|
||||
params.initFlags |= XEFG_SWAPCHAIN_INIT_FLAG_INVERTED_DEPTH;
|
||||
|
||||
if (Config::Instance()->FGXeFGJitteredMV.value_or_default())
|
||||
params.initFlags |= XEFG_SWAPCHAIN_INIT_FLAG_JITTERED_MV;
|
||||
|
||||
Reference in New Issue
Block a user