mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-09-07 16:39:09 +01:00
gl_rasterizer_cache: Fixup parameter order in layered swizzle
This commit is contained in:
parent
94b27bb8a5
commit
abef11a540
1 changed files with 1 additions and 1 deletions
|
@ -423,7 +423,7 @@ void SwizzleFunc(const MortonSwizzleMode& mode, const SurfaceParams& params,
|
||||||
for (u32 i = 0; i < params.depth; i++) {
|
for (u32 i = 0; i < params.depth; i++) {
|
||||||
MortonSwizzle(mode, params.pixel_format, params.MipWidth(mip_level),
|
MortonSwizzle(mode, params.pixel_format, params.MipWidth(mip_level),
|
||||||
params.MipBlockHeight(mip_level), params.MipHeight(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);
|
gl_buffer.data() + offset_gl, gl_size, params.addr + offset);
|
||||||
offset += layer_size;
|
offset += layer_size;
|
||||||
offset_gl += gl_size;
|
offset_gl += gl_size;
|
||||||
|
|
Loading…
Reference in a new issue