summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/engine_upload.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-05-11 06:38:35 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-06-21 02:36:12 +0200
commit6bd034eae9ab48c00e1635e2d7059b3d99b764b0 (patch)
tree13e6df7b58879fc5480e329c63b2cef01c6ffde1 /src/video_core/engines/engine_upload.cpp
parentsurface_params: Optimize CreateForTexture (diff)
downloadyuzu-6bd034eae9ab48c00e1635e2d7059b3d99b764b0.tar
yuzu-6bd034eae9ab48c00e1635e2d7059b3d99b764b0.tar.gz
yuzu-6bd034eae9ab48c00e1635e2d7059b3d99b764b0.tar.bz2
yuzu-6bd034eae9ab48c00e1635e2d7059b3d99b764b0.tar.lz
yuzu-6bd034eae9ab48c00e1635e2d7059b3d99b764b0.tar.xz
yuzu-6bd034eae9ab48c00e1635e2d7059b3d99b764b0.tar.zst
yuzu-6bd034eae9ab48c00e1635e2d7059b3d99b764b0.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/engines/engine_upload.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/engines/engine_upload.cpp b/src/video_core/engines/engine_upload.cpp
index 082a40cd9..c776b9a56 100644
--- a/src/video_core/engines/engine_upload.cpp
+++ b/src/video_core/engines/engine_upload.cpp
@@ -36,8 +36,8 @@ void State::ProcessData(const u32 data, const bool is_last_call) {
} else {
UNIMPLEMENTED_IF(regs.dest.z != 0);
UNIMPLEMENTED_IF(regs.dest.depth != 1);
- UNIMPLEMENTED_IF(regs.dest.BlockWidth() != 1);
- UNIMPLEMENTED_IF(regs.dest.BlockDepth() != 1);
+ UNIMPLEMENTED_IF(regs.dest.BlockWidth() != 0);
+ UNIMPLEMENTED_IF(regs.dest.BlockDepth() != 0);
const std::size_t dst_size = Tegra::Texture::CalculateSize(
true, 1, regs.dest.width, regs.dest.height, 1, regs.dest.BlockHeight(), 1);
tmp_buffer.resize(dst_size);