[idd] disable HDR and post-processing when in software mode

This commit is contained in:
Geoffrey McRae committed 2026-07-23 09:44:00 +10:00
1 parent cd09c080b8
commit d3e05a7958
12 files changed
+215 -99

No files matched your search

+2 -1
View File
@@ -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();