Add shader acceleration setting

This commit is contained in:
wheremyfoodat 2024-07-25 00:19:07 +03:00
parent a2b8a7b23d
commit 251ff5ee49
3 changed files with 11 additions and 3 deletions

View file

@ -20,11 +20,13 @@ struct EmulatorConfig {
#else
static constexpr bool ubershaderDefault = true;
#endif
static constexpr bool accelerateShadersDefault = false;
bool shaderJitEnabled = shaderJitDefault;
bool discordRpcEnabled = false;
bool useUbershaders = ubershaderDefault;
bool accelerateShaders = accelerateShadersDefault;
bool accurateShaderMul = false;
bool discordRpcEnabled = false;
// Toggles whether to force shadergen when there's more than N lights active and we're using the ubershader, for better performance
bool forceShadergenForLights = true;