1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-17 17:52:11 +01:00

[d3d11] Remove warnings from CopySubresourceRegion1 / UpdateSubresource1

The flags should have no impact on correctness, so not supporting them
makes no difference. Prevents log spam in Dishonored 2.
This commit is contained in:
Philip Rebohle 2018-03-19 14:52:42 +01:00
parent b33edcbb93
commit c6251d28fc
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -410,8 +410,6 @@ namespace dxvk {
UINT SrcSubresource,
const D3D11_BOX* pSrcBox,
UINT CopyFlags) {
if (CopyFlags != 0)
Logger::warn("D3D11DeviceContext: CopySubresourceRegion1: ignoring flags");
CopySubresourceRegion(pDstResource, DstSubresource, DstX, DstY, DstZ, pSrcResource, SrcSubresource, pSrcBox);
}
@ -792,8 +790,6 @@ namespace dxvk {
UINT SrcRowPitch,
UINT SrcDepthPitch,
UINT CopyFlags) {
if(CopyFlags != 0 )
Logger::warn("D3D11DeviceContext::UpdateSubresource1: flags ignored");
UpdateSubresource(pDstResource, DstSubresource, pDstBox, pSrcData, SrcRowPitch, SrcDepthPitch);
}