VideoConfig: Collapse ubershader configuration fields to a single value

This commit is contained in:
Stenzek committed 2018-03-10 15:56:45 +10:00
1 parent 590307b94c
commit 9fa24700b6
11 files changed
+42 -112

No files matched your search

+8 -5
View File
@@ -180,13 +180,16 @@ void DolphinAnalytics::MakeBaseBuilder()
static const char* GetUbershaderMode(const VideoConfig& video_config)
{
if (video_config.bDisableSpecializedShaders)
switch (video_config.iUberShaderMode)
{
case UberShaderMode::Exclusive:
return "exclusive";
if (video_config.bBackgroundShaderCompiling)
case UberShaderMode::Hybrid:
return "hybrid";
return "disabled";
case UberShaderMode::Disabled:
default:
return "disabled";
}
}
void DolphinAnalytics::MakePerGameBuilder()