Skip to content
Snippets Groups Projects
  1. Nov 27, 2021
  2. Nov 22, 2021
  3. Nov 21, 2021
  4. Nov 19, 2021
  5. Nov 16, 2021
  6. 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
  7. Jul 04, 2021
  8. Jun 28, 2021
  9. Jun 16, 2021
  10. Jun 15, 2021
  11. 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
  12. Apr 19, 2021
  13. Apr 12, 2021
  14. Mar 25, 2021
  15. Mar 04, 2021
    • ameerj's avatar
      texture_cache: Blacklist BGRA8 copies and views on OpenGL · 5213f702
      ameerj authored
      In order to force the BGRA8 conversion on Nvidia using OpenGL, we need to forbid texture copies and views with other formats.
      
      This commit also adds a boolean relating to this, as this needs to be done only for the OpenGL api, Vulkan must remain unchanged.
      5213f702
  16. Feb 09, 2021
  17. Jan 24, 2021
  18. Jan 17, 2021
  19. Jan 15, 2021
  20. Jan 04, 2021
    • ReinUsesLisp's avatar
      gl_texture_cache: Avoid format views on Intel and AMD · 7d904fef
      ReinUsesLisp authored
      Intel and AMD proprietary drivers are incapable of rendering to texture
      views of different formats than the original texture. Avoid creating
      these at a cache level. This will consume more memory, emulating them
      with copies.
      7d904fef
  21. Dec 30, 2020
    • ReinUsesLisp's avatar
      video_core: Rewrite the texture cache · 9764c13d
      ReinUsesLisp authored
      The current texture cache has several points that hurt maintainability
      and performance. It's easy to break unrelated parts of the cache
      when doing minor changes. The cache can easily forget valuable
      information about the cached textures by CPU writes or simply by its
      normal usage.The current texture cache has several points that hurt
      maintainability and performance. It's easy to break unrelated parts
      of the cache when doing minor changes. The cache can easily forget
      valuable information about the cached textures by CPU writes or simply
      by its normal usage.
      
      This commit aims to address those issues.
      9764c13d
Loading