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

This commit is contained in:
NeoBrainX committed 2011-09-07 21:15:09 +02:00
1 parent 4702de591e
commit 3939f9595a
5 files changed
+68 -26

No files matched your search

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