gl_texture_cache: Add copy from multiple overlaps into a single surface

This commit is contained in:
ReinUsesLisp 2019-04-15 16:17:27 -03:00
parent 84139586c9
commit 0cefb7bcb4
3 changed files with 84 additions and 6 deletions

View file

@ -316,7 +316,7 @@ std::size_t SurfaceParams::GetInnerMemorySize(bool as_host_size, bool layer_only
size += GetInnerMipmapMemorySize(level, as_host_size, layer_only, uncompressed);
}
if (is_tiled && !as_host_size) {
//size = Common::AlignUp(size, Tegra::Texture::GetGOBSize() * block_height * block_depth);
size = Common::AlignUp(size, Tegra::Texture::GetGOBSize() * block_height * block_depth);
}
return size;
}