[D3D12] Fix resolve not syncing with CPU memory and memory extent calculation

This commit is contained in:
Triang3l
2020-08-28 23:49:23 +03:00
parent a1d33615b0
commit 210c30aef9
4 changed files with 13 additions and 9 deletions

View File

@@ -380,8 +380,7 @@ bool GetResolveInfo(const RegisterFile& regs, const Memory& memory,
dest_width, dest_height, dest_depth);
}
copy_dest_length = texture_util::GetGuestMipSliceStorageSize(
dest_width, dest_height, dest_depth, false, dest_format, nullptr,
false);
dest_width, dest_height, dest_depth, true, dest_format, nullptr, false);
} else {
XELOGE("Tried to resolve to format {}, which is not a ColorFormat",
dest_format_info.name);