mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 13:20:27 -06:00
FramebufferManager: Dynamic selection of EFB depth format
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user