diff options
| author | 2021-10-06 01:18:00 -0400 | |
|---|---|---|
| committer | 2021-11-16 22:11:30 +0100 | |
| commit | 31478c6c1b841b9a820742830b136775fafe270f (patch) | |
| tree | e8f5644dd6c570cf8ee08e5e23592983162a8ec4 /src/video_core/texture_cache | |
| parent | texture_cache: Refactor scaled image size calculation (diff) | |
| download | yuzu-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.h | 2 |
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); |