diff options
| author | 2023-10-11 18:19:35 +1100 | |
|---|---|---|
| committer | 2023-10-11 19:12:33 +1100 | |
| commit | 9512992fe20b352ce265a358ed9bcfd17d9a74fd (patch) | |
| tree | 645addf884869abeaf1739a9659d8dad6300b833 /src/tests/common/unique_function.cpp | |
| parent | Reuse part of my previous idea to to use num_levels to check within AdjustMip... (diff) | |
| download | yuzu-9512992fe20b352ce265a358ed9bcfd17d9a74fd.tar.gz yuzu-9512992fe20b352ce265a358ed9bcfd17d9a74fd.tar.xz yuzu-9512992fe20b352ce265a358ed9bcfd17d9a74fd.zip | |
Fix mistaken usage of info.block instead of level_info.block
Fixed an error on my part, in the last change I had mistakenly passed unadjusted block info into FullUploadSwizzles and UnswizzleImage
Revert (my mistaken changing of) the construction of SwizzleParameters in UnswizzleImage and FullUploadSwizzles to use level_info.block instead of info.block. This ensures that the block information used in the swizzling process is correctly adjusted for each mip level.
Diffstat (limited to 'src/tests/common/unique_function.cpp')
0 files changed, 0 insertions, 0 deletions