summaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache.cpp
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2019-04-15 16:17:27 -0300
committerGravatar ReinUsesLisp2019-06-20 21:36:11 -0300
commit0cefb7bcb481dc32d6362bba1976cadf25f9c95a (patch)
treedad54e28e8995e3eb4b1788225f2e26f64882570 /src/video_core/texture_cache.cpp
parentgl_texture_cache: Attach surface textures instead of views (diff)
downloadyuzu-0cefb7bcb481dc32d6362bba1976cadf25f9c95a.tar.gz
yuzu-0cefb7bcb481dc32d6362bba1976cadf25f9c95a.tar.xz
yuzu-0cefb7bcb481dc32d6362bba1976cadf25f9c95a.zip
gl_texture_cache: Add copy from multiple overlaps into a single surface
Diffstat (limited to 'src/video_core/texture_cache.cpp')
-rw-r--r--src/video_core/texture_cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/texture_cache.cpp b/src/video_core/texture_cache.cpp
index 1cfb9962f..2994312f4 100644
--- a/src/video_core/texture_cache.cpp
+++ b/src/video_core/texture_cache.cpp
@@ -316,7 +316,7 @@ std::size_t SurfaceParams::GetInnerMemorySize(bool as_host_size, bool layer_only
316 size += GetInnerMipmapMemorySize(level, as_host_size, layer_only, uncompressed); 316 size += GetInnerMipmapMemorySize(level, as_host_size, layer_only, uncompressed);
317 } 317 }
318 if (is_tiled && !as_host_size) { 318 if (is_tiled && !as_host_size) {
319 //size = Common::AlignUp(size, Tegra::Texture::GetGOBSize() * block_height * block_depth); 319 size = Common::AlignUp(size, Tegra::Texture::GetGOBSize() * block_height * block_depth);
320 } 320 }
321 return size; 321 return size;
322} 322}