summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-10-03 02:19:35 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-10-03 02:19:35 +0200
commit2a24b1c9734a916e9a14579d4c550c84e83039b8 (patch)
tree8354ea4ead2047254115aea7408db184142273e7 /src/video_core/engines
parentMerge pull request #4734 from german77/motionfusion (diff)
downloadyuzu-2a24b1c9734a916e9a14579d4c550c84e83039b8.tar
yuzu-2a24b1c9734a916e9a14579d4c550c84e83039b8.tar.gz
yuzu-2a24b1c9734a916e9a14579d4c550c84e83039b8.tar.bz2
yuzu-2a24b1c9734a916e9a14579d4c550c84e83039b8.tar.lz
yuzu-2a24b1c9734a916e9a14579d4c550c84e83039b8.tar.xz
yuzu-2a24b1c9734a916e9a14579d4c550c84e83039b8.tar.zst
yuzu-2a24b1c9734a916e9a14579d4c550c84e83039b8.zip
Diffstat (limited to 'src/video_core/engines')
-rw-r--r--src/video_core/engines/maxwell_dma.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/video_core/engines/maxwell_dma.cpp b/src/video_core/engines/maxwell_dma.cpp
index e88290754..8fa359d0a 100644
--- a/src/video_core/engines/maxwell_dma.cpp
+++ b/src/video_core/engines/maxwell_dma.cpp
@@ -114,8 +114,6 @@ void MaxwellDMA::CopyBlockLinearToPitch() {
const u32 block_depth = src_params.block_size.depth;
const size_t src_size =
CalculateSize(true, bytes_per_pixel, width, height, depth, block_height, block_depth);
- const size_t src_layer_size =
- CalculateSize(true, bytes_per_pixel, width, height, 1, block_height, block_depth);
if (read_buffer.size() < src_size) {
read_buffer.resize(src_size);