Browse Source
Merge pull request #3355 from ReinUsesLisp/break-down
texture_cache/surface_base: Fix layered break down
pull/15/merge
bunnei
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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; |
|
|
|
|