mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-11-27 08:21:37 +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)
|
if (!dst)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return D12::Same(dst->GetDesc(), m_outDesc);
|
return D12::Same(
|
||||||
|
dst->GetDesc(), m_outDesc, D12::DescCmp::CREATE);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CComputeEffect::TransitionDst(
|
void CComputeEffect::TransitionDst(
|
||||||
|
|||||||
Reference in New Issue
Block a user