Experimentally flush GPU after each part of MS<=>Array copy. Refs #1119

This commit is contained in:
baldurk
2018-10-08 18:47:25 +01:00
parent 1dd4eb4410
commit cd1e9c2fb8
@@ -488,6 +488,8 @@ void D3D11DebugManager::CopyArrayToTex2DMS(ID3D11Texture2D *destMS, ID3D11Textur
SAFE_RELEASE(dsvMS);
m_pImmediateContext->Flush();
if(singleSliceMode)
break;
}
@@ -732,6 +734,8 @@ void D3D11DebugManager::CopyTex2DMSToArray(ID3D11Texture2D *destArray, ID3D11Tex
SAFE_RELEASE(rtvArray);
SAFE_RELEASE(dsvArray);
ctx->Flush();
}
}