Skip to content
Snippets Groups Projects
  1. Oct 11, 2023
    • Squall-Leonhart's avatar
      Fix mistaken usage of info.block instead of level_info.block · 9512992f
      Squall-Leonhart authored
      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.
      9512992f
  2. Sep 19, 2023
  3. Sep 18, 2023
    • Squall Leonhart's avatar
      Partial revert of #10433 · 79f02020
      Squall Leonhart authored
      The If block in this change was causing some 2D textures to be treated as if their mip 0 was a 3D Slice, this could be ascertained as the same texture viewed from different distances would render fine, but then close up would look like a decoding failure.
      
      It also resulted in some 3D ASTC textures not being scaled appropriate leading to broken graphical effects such as the jagged TOTK recall animation being a circle, as the If block was only accepting the image based on its original info without any adjustments applied.
  4. Jul 02, 2023
  5. Jul 01, 2023
  6. Jun 28, 2023
  7. Jun 22, 2023
  8. May 24, 2023
  9. May 23, 2023
  10. May 09, 2023
  11. Mar 05, 2023
  12. Feb 11, 2023
  13. Dec 25, 2022
  14. Nov 04, 2022
  15. Oct 06, 2022
  16. Apr 28, 2022
  17. Apr 23, 2022
  18. Apr 04, 2022
  19. Jan 01, 2022
  20. Nov 27, 2021
  21. Nov 22, 2021
  22. Nov 21, 2021
  23. Nov 19, 2021
  24. Nov 16, 2021
  25. Jul 18, 2021
    • ReinUsesLisp's avatar
      texture_cache/util: Fix size calculations of multisampled images · 6d9f347e
      ReinUsesLisp authored
      On the texture cache we handle multisampled images by keeping their real
      size in samples (e.g. 1920x1080 with 4 samples is 3840x2160).
      
      This works nicely with size matches and other comparisons, but the
      calculation for guest sizes was not having this in mind, and the size
      was being multiplied (again) by the number of samples per dimension.
      For example a 3840x2160 texture cache image had its width and height
      multiplied by 2, resulting in a much larger texture.
      
      Fix this issue.
      
      - Fixes performance regression on cooking related titles when an
        unrelated bug was fixed.
      6d9f347e
  26. Jul 04, 2021
  27. Jun 28, 2021
  28. Jun 16, 2021
  29. Jun 15, 2021
  30. Jun 10, 2021
    • Markus Wick's avatar
      Fix GCC undefined behavior sanitizer. · 67550253
      Markus Wick authored
      * Wrong alignment in u64 LOG_DEBUG -> memcpy.
      * Huge shift exponent in stride calculation for linear buffer, unused result -> skipped.
      * Large shift in buffer cache if word = 0, skip checking for set bits.
      
      Non of those were critical, so this should not change any behavior.
      At least with the assumption, that the last one used masking behavior, which always yield continuous_bits = 0.
      67550253
  31. Apr 19, 2021
  32. Apr 12, 2021
Loading