mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 10:18:40 +12:00
rsx: Fix decoding of linear cubemaps
- 128-byte boundary is not observed in linear tiling. Verified in hw.
This commit is contained in:
parent
e1d1d16227
commit
479150b214
1 changed files with 4 additions and 1 deletions
|
@ -492,7 +492,10 @@ namespace
|
||||||
miplevel_depth = std::max(miplevel_depth / 2, 1);
|
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;
|
return result;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue