FramebufferManager: Fix invalid readback of EFB D24S8 depth

Fixes assertion tripping when saving state on Adreno.
This commit is contained in:
Stenzek
2020-05-24 15:33:02 +10:00
parent 393ce529af
commit ad373950a2
2 changed files with 21 additions and 38 deletions

View File

@ -74,7 +74,8 @@ public:
// Resolve color/depth textures to a non-msaa texture, and return it.
AbstractTexture* ResolveEFBColorTexture(const MathUtil::Rectangle<int>& region);
AbstractTexture* ResolveEFBDepthTexture(const MathUtil::Rectangle<int>& region);
AbstractTexture* ResolveEFBDepthTexture(const MathUtil::Rectangle<int>& region,
bool force_r32f = false);
// Reinterpret pixel format of EFB color texture.
// Assumes no render pass is currently in progress.