rsx: Fix decoding of linear cubemaps

- 128-byte boundary is not observed in linear tiling. Verified in hw.
This commit is contained in:
kd-11 2021-10-10 00:17:00 +03:00 committed by kd-11
parent e1d1d16227
commit 479150b214

View file

@ -492,7 +492,10 @@ namespace
miplevel_depth = std::max(miplevel_depth / 2, 1);
}
offset_in_src = utils::align(offset_in_src, 128);
if (!padded_row) // Only swizzled textures obey this restriction
{
offset_in_src = utils::align(offset_in_src, 128);
}
}
return result;