Remove assert that's pointless and has false positives.

* Technically CopySubresourceRegion should only be called for matching
  types, but the handling won't change (we'll just mark dest resource as
  dirty), so this fires when programs are being a bit naughty for no use.
This commit is contained in:
baldurk
2014-11-02 19:02:35 +00:00
parent 3fa5852c93
commit 05c5870326
@@ -4650,12 +4650,6 @@ void WrappedID3D11DeviceContext::CopySubresourceRegion( ID3D11Resource *pDstReso
// GPU dirty. Just let initial state handle this.
m_pDevice->GetResourceManager()->MarkDirtyResource(GetIDForResource(pDstResource));
RDCASSERT(
(WrappedID3D11Texture1D::IsAlloc(pDstResource) && WrappedID3D11Texture1D::IsAlloc(pSrcResource)) ||
(WrappedID3D11Texture2D::IsAlloc(pDstResource) && WrappedID3D11Texture2D::IsAlloc(pSrcResource)) ||
(WrappedID3D11Texture3D::IsAlloc(pDstResource) && WrappedID3D11Texture3D::IsAlloc(pSrcResource))
);
}
}