mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
OGL: Reload shader cache when relevant video config changes
This commit is contained in:
@ -72,6 +72,7 @@ public:
|
||||
static void UploadConstants();
|
||||
|
||||
static void Init();
|
||||
static void Reload();
|
||||
static void Shutdown();
|
||||
static void CreateHeader();
|
||||
|
||||
@ -82,6 +83,10 @@ private:
|
||||
void Read(const SHADERUID& key, const u8* value, u32 value_size) override;
|
||||
};
|
||||
|
||||
static void LoadProgramBinaries();
|
||||
static void SaveProgramBinaries();
|
||||
static void DestroyShaders();
|
||||
|
||||
typedef std::map<SHADERUID, PCacheEntry> PCache;
|
||||
static PCache pshaders;
|
||||
static PCacheEntry* last_entry;
|
||||
|
Reference in New Issue
Block a user