mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-12 14:57:20 +00:00
[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.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user