Skip to content
  1. Mar 12, 2020
    • ReinUsesLisp's avatar
      texture_cache: Report incompatible textures as black · e22816a5
      ReinUsesLisp authored
      Some games bind incompatible texture types to certain types.
      For example Astral Chain binds a 2D texture with 1 layer (non-array) to
      a cubemap slot (that's how it's used in the shader). After testing this
      in hardware, the expected "undefined behavior" is to report all pixels
      as black.
      
      We already have a path for reporting black textures in the texture
      cache. When textures types are incompatible, this commit binds these
      kind of textures. This is done on the API agnostic texture cache so no
      extra code has to be inserted on OpenGL or Vulkan.
      
      As a side effect, this fixes invalidations of ASTC textures on Astral
      Chain. This happened because yuzu detected a cube texture and forced
      6 faces, generating a texture larger than what the TIC reported.
      e22816a5
  2. Mar 11, 2020
  3. Mar 09, 2020
  4. Mar 08, 2020
  5. Mar 06, 2020
  6. Mar 05, 2020
  7. Mar 04, 2020
  8. Mar 03, 2020
  9. Mar 02, 2020
  10. Mar 01, 2020
  11. Feb 29, 2020
  12. Feb 28, 2020
Loading