summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-02-24 05:31:34 +0100
committerGitHub <noreply@github.com>2019-02-24 05:31:34 +0100
commitd062991643f86cd826ec4bdb6d799ef3ab4e28ee (patch)
tree98b91dbf16aad97034b5b31ddc65c230fd81df05
parentMerge pull request #2151 from ReinUsesLisp/fixup-vk-memory-manager (diff)
parentgl_rasterizer_cache: Fixup parameter order in layered swizzle (diff)
downloadyuzu-d062991643f86cd826ec4bdb6d799ef3ab4e28ee.tar
yuzu-d062991643f86cd826ec4bdb6d799ef3ab4e28ee.tar.gz
yuzu-d062991643f86cd826ec4bdb6d799ef3ab4e28ee.tar.bz2
yuzu-d062991643f86cd826ec4bdb6d799ef3ab4e28ee.tar.lz
yuzu-d062991643f86cd826ec4bdb6d799ef3ab4e28ee.tar.xz
yuzu-d062991643f86cd826ec4bdb6d799ef3ab4e28ee.tar.zst
yuzu-d062991643f86cd826ec4bdb6d799ef3ab4e28ee.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer_cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
index 59f671048..74200914e 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
@@ -423,7 +423,7 @@ void SwizzleFunc(const MortonSwizzleMode& mode, const SurfaceParams& params,
for (u32 i = 0; i < params.depth; i++) {
MortonSwizzle(mode, params.pixel_format, params.MipWidth(mip_level),
params.MipBlockHeight(mip_level), params.MipHeight(mip_level),
- params.MipBlockDepth(mip_level), params.tile_width_spacing, 1,
+ params.MipBlockDepth(mip_level), 1, params.tile_width_spacing,
gl_buffer.data() + offset_gl, gl_size, params.addr + offset);
offset += layer_size;
offset_gl += gl_size;