[idd] disable HDR and post-processing when in software mode
This commit is contained in:
1 parent
cd09c080b8
commit
d3e05a7958
12 files changed
+215
-99
No files matched your search
@@ -64,7 +64,8 @@ void CIndirectMonitorContext::AssignSwapChain(IDDCX_SWAPCHAIN swapChain, LUID re
|
||||
|
||||
UINT64 alignSize = CPlatformInfo::GetPageSize();
|
||||
dx12Device = std::make_shared<CD3D12Device>(renderAdapter);
|
||||
CD3D12Device::InitResult r = dx12Device->Init(m_devContext->GetIVSHMEM(), alignSize);
|
||||
CD3D12Device::InitResult r = dx12Device->Init(
|
||||
m_devContext->GetIVSHMEM(), alignSize, !dx11Device->IsSoftware());
|
||||
if (r == CD3D12Device::RETRY)
|
||||
{
|
||||
dx12Device.reset();
|
||||
|
||||
Reference in new issue
Block a user