mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-21 05:56:37 +00:00
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:
@@ -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))
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user