mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
FramebufferManager: Dynamic selection of EFB depth format
This commit is contained in:
parent
b30342d38f
commit
3323265d91
5 changed files with 22 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue