mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 01:28:57 +00:00
D3D11: Reload shader cache when relevant config changes
This commit is contained in:
parent
62a901508b
commit
228ddb8aba
8 changed files with 88 additions and 30 deletions
|
@ -15,6 +15,7 @@ class PixelShaderCache
|
|||
{
|
||||
public:
|
||||
static void Init();
|
||||
static void Reload();
|
||||
static void Clear();
|
||||
static void Shutdown();
|
||||
static bool SetShader(); // TODO: Should be renamed to LoadShader
|
||||
|
@ -46,6 +47,8 @@ private:
|
|||
|
||||
typedef std::map<PixelShaderUid, PSCacheEntry> PSCache;
|
||||
|
||||
static void LoadShaderCache();
|
||||
|
||||
static PSCache PixelShaders;
|
||||
static const PSCacheEntry* last_entry;
|
||||
static PixelShaderUid last_uid;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue