FramebufferManager: Dynamic selection of EFB depth format

This commit is contained in:
Stenzek
2018-07-17 13:24:36 +10:00
parent b30342d38f
commit 3323265d91
5 changed files with 22 additions and 8 deletions

View File

@ -8,6 +8,8 @@
#include "Common/CommonTypes.h"
enum class AbstractTextureFormat : u32;
inline bool AddressRangesOverlap(u32 aLower, u32 aUpper, u32 bLower, u32 bUpper)
{
return !((aLower >= bUpper) || (bLower >= aUpper));
@ -19,6 +21,7 @@ public:
virtual ~FramebufferManagerBase();
static unsigned int GetEFBLayers() { return m_EFBLayers; }
static AbstractTextureFormat GetEFBDepthFormat();
protected:
static unsigned int m_EFBLayers;