summaryrefslogtreecommitdiff
path: root/src/video_core/texture_cache
diff options
context:
space:
mode:
authorGravatar ameerj2021-10-06 01:18:00 -0400
committerGravatar Fernando Sahmkow2021-11-16 22:11:30 +0100
commit31478c6c1b841b9a820742830b136775fafe270f (patch)
treee8f5644dd6c570cf8ee08e5e23592983162a8ec4 /src/video_core/texture_cache
parenttexture_cache: Refactor scaled image size calculation (diff)
downloadyuzu-31478c6c1b841b9a820742830b136775fafe270f.tar.gz
yuzu-31478c6c1b841b9a820742830b136775fafe270f.tar.xz
yuzu-31478c6c1b841b9a820742830b136775fafe270f.zip
video_core: Misc resolution scaling related refactoring
Diffstat (limited to 'src/video_core/texture_cache')
-rw-r--r--src/video_core/texture_cache/texture_cache.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.h
index b708e41b5..630c73005 100644
--- a/src/video_core/texture_cache/texture_cache.h
+++ b/src/video_core/texture_cache/texture_cache.h
@@ -1726,9 +1726,7 @@ void TextureCache<P>::CopyImage(ImageId dst_id, ImageId src_id, std::vector<Imag
1726 }; 1726 };
1727 for (auto& copy : copies) { 1727 for (auto& copy : copies) {
1728 copy.src_offset.x = scale_up(copy.src_offset.x); 1728 copy.src_offset.x = scale_up(copy.src_offset.x);
1729
1730 copy.dst_offset.x = scale_up(copy.dst_offset.x); 1729 copy.dst_offset.x = scale_up(copy.dst_offset.x);
1731
1732 copy.extent.width = scale_up(copy.extent.width); 1730 copy.extent.width = scale_up(copy.extent.width);
1733 if (both_2d) { 1731 if (both_2d) {
1734 copy.src_offset.y = scale_up(copy.src_offset.y); 1732 copy.src_offset.y = scale_up(copy.src_offset.y);