diff options
author | bunnei <bunneidev@gmail.com> | 2020-01-29 18:29:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-29 18:29:56 +0100 |
commit | b11aeced18f18b043cc34a3df033766628f3ec83 (patch) | |
tree | e5b9a5a333f50bc167f1693c8020ecab1e534161 /src | |
parent | Merge pull request #3358 from ReinUsesLisp/implicit-texture-cache (diff) | |
parent | texture_cache/surface_base: Fix layered break down (diff) | |
download | yuzu-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')
-rw-r--r-- | src/video_core/texture_cache/surface_base.cpp | 2 |
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; |