Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
TextureCache: Add the ability to deduce if two textures are depth on blit. #2917
This PR adds another HLE mechanism to the texture cache. It turns out that Fermi2D blits depth formats as color formats, forcing us to do an expensive depth -> color conversion through buffer copies. With this PR, the texture cache will try to deduce if the textures are both depth (or 1 is depth & the other is not known) and will try to correct the formatting, in order to avoid expensive copies.
This work great on ZLA and DKCTF.