Add a hidden setting to turn off the shader cache, for shader compile performance work

This commit is contained in:
Henrik Rydgård committed 2021-11-21 21:25:56 +01:00
1 parent dda425b068
commit f1cd1d535b
4 files changed
+26 -5

No files matched your search

+2
View File
@@ -914,6 +914,8 @@ static ConfigSetting graphicsSettings[] = {
ConfigSetting("InflightFrames", &g_Config.iInflightFrames, 3, true, false),
ConfigSetting("RenderDuplicateFrames", &g_Config.bRenderDuplicateFrames, false, true, true),
ConfigSetting("ShaderCache", &g_Config.bShaderCache, true, false, false), // Doesn't save. Ini-only.
ConfigSetting(false),
};