summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-01-29 18:29:56 +0100
committerGitHub <noreply@github.com>2020-01-29 18:29:56 +0100
commitb11aeced18f18b043cc34a3df033766628f3ec83 (patch)
treee5b9a5a333f50bc167f1693c8020ecab1e534161 /src/video_core
parentMerge pull request #3358 from ReinUsesLisp/implicit-texture-cache (diff)
parenttexture_cache/surface_base: Fix layered break down (diff)
downloadyuzu-b11aeced18f18b043cc34a3df033766628f3ec83.tar
yuzu-b11aeced18f18b043cc34a3df033766628f3ec83.tar.gz
yuzu-b11aeced18f18b043cc34a3df033766628f3ec83.tar.bz2
yuzu-b11aeced18f18b043cc34a3df033766628f3ec83.tar.lz
yuzu-b11aeced18f18b043cc34a3df033766628f3ec83.tar.xz
yuzu-b11aeced18f18b043cc34a3df033766628f3ec83.tar.zst
yuzu-b11aeced18f18b043cc34a3df033766628f3ec83.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/texture_cache/surface_base.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/texture_cache/surface_base.cpp b/src/video_core/texture_cache/surface_base.cpp
index 829268b4c..84469b7ba 100644
--- a/src/video_core/texture_cache/surface_base.cpp
+++ b/src/video_core/texture_cache/surface_base.cpp
@@ -135,7 +135,7 @@ std::vector<CopyParams> SurfaceBaseImpl::BreakDownLayered(const SurfaceParams& i
for (u32 level = 0; level < mipmaps; level++) {
const u32 width = SurfaceParams::IntersectWidth(params, in_params, level, level);
const u32 height = SurfaceParams::IntersectHeight(params, in_params, level, level);
- result.emplace_back(width, height, layer, level);
+ result.emplace_back(0, 0, layer, 0, 0, layer, level, level, width, height, 1);
}
}
return result;