mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-16 15:29:19 +00:00
Add runtime checks to make sure we aren't overoptimizing the pixel shader cache.
This commit is contained in:
parent
4702de591e
commit
3939f9595a
5 changed files with 68 additions and 26 deletions
|
@ -56,6 +56,8 @@ class PixelShaderCache
|
|||
{
|
||||
shader.Destroy();
|
||||
}
|
||||
PIXELSHADERUIDSAFE safe_uid;
|
||||
std::string code;
|
||||
};
|
||||
|
||||
typedef std::map<PIXELSHADERUID, PSCacheEntry> PSCache;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue