Add checkboxes in developer tools to allow disabling ubershaders.

Might be helpful to diagnose performance problems on user devices.

Additionally, moves the texture replacement controls to the top. They
should probably be moved somewhere else entirely...

See #17918
This commit is contained in:
Henrik Rydgård committed 2023-08-17 20:16:04 +02:00
1 parent abaf45e552
commit 8a6e288fcc
8 files changed
+55 -33

No files matched your search

+3
View File
@@ -633,6 +633,9 @@ static const ConfigSetting graphicsSettings[] = {
ConfigSetting("ShaderCache", &g_Config.bShaderCache, true, CfgFlag::DONT_SAVE), // Doesn't save. Ini-only.
ConfigSetting("GpuLogProfiler", &g_Config.bGpuLogProfiler, false, CfgFlag::DEFAULT),
ConfigSetting("UberShaderVertex", &g_Config.bUberShaderVertex, true, CfgFlag::DEFAULT),
ConfigSetting("UberShaderFragment", &g_Config.bUberShaderFragment, true, CfgFlag::DEFAULT),
};
static const ConfigSetting soundSettings[] = {