Add runtime checks to make sure we aren't overoptimizing the pixel shader cache.

This commit is contained in:
NeoBrainX
2011-09-07 20:20:29 +02:00
parent 4702de591e
commit 3939f9595a
5 changed files with 68 additions and 26 deletions

View File

@ -56,6 +56,8 @@ class PixelShaderCache
{
shader.Destroy();
}
PIXELSHADERUIDSAFE safe_uid;
std::string code;
};
typedef std::map<PIXELSHADERUID, PSCacheEntry> PSCache;