From 536516be19c18244d08142c5b880b26b4be74c8a Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Thu, 8 Oct 2026 23:05:05 +1100 Subject: [PATCH] [idd] postprocess: accept effective output alignment Ignore the driver-selected texture alignment when validating external compute-effect destinations. Keep layout and resource flags in the comparison. --- idd/LGIdd/postprocess/effect/CComputeEffect.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/idd/LGIdd/postprocess/effect/CComputeEffect.cpp b/idd/LGIdd/postprocess/effect/CComputeEffect.cpp index e1d44073..de9f7a81 100644 --- a/idd/LGIdd/postprocess/effect/CComputeEffect.cpp +++ b/idd/LGIdd/postprocess/effect/CComputeEffect.cpp @@ -289,7 +289,8 @@ bool CComputeEffect::IsDst(ID3D12Resource * dst) const if (!dst) return false; - return D12::Same(dst->GetDesc(), m_outDesc); + return D12::Same( + dst->GetDesc(), m_outDesc, D12::DescCmp::CREATE); } void CComputeEffect::TransitionDst(