mirror of
https://github.com/optiscaler/OptiScaler.git
synced 2026-10-09 21:41:37 +00:00
Disabled 2 Dx11 flushes, rely on gpu syncing
Looks like these were from optinal CPU syncing era
This commit is contained in:
1 parent
3a5c2073cc
commit
ffb8793640
1 file changed
+6
-2
@@ -224,7 +224,8 @@ bool Dx11WithDx12::SyncDx11ToDx12()
|
||||
return false;
|
||||
}
|
||||
|
||||
Dx11DeviceContext->Flush();
|
||||
// Games flush should be enough, so disabled for now
|
||||
// Dx11DeviceContext->Flush();
|
||||
|
||||
result = Dx12CommandQueue->Wait(Dx12FenceTextureCopy, fenceValue);
|
||||
if (result != S_OK)
|
||||
@@ -964,6 +965,9 @@ bool Dx11WithDx12::CopyUpscalerOutputToDx11(UINT frameIndex)
|
||||
}
|
||||
|
||||
Dx11DeviceContext->CopyResource(cache.ParamOutput[outputIndex], cache.Output[outputIndex].SharedTexture);
|
||||
Dx11DeviceContext->Flush();
|
||||
|
||||
// Games flush should be enough, so disabled for now
|
||||
// Dx11DeviceContext->Flush();
|
||||
|
||||
return true;
|
||||
}
|
||||
Reference in new issue
Block a user