Adjust ubershader defaults

This commit is contained in:
wheremyfoodat 2024-07-20 17:45:14 +03:00
parent 8091e44206
commit 4214d9bce4
2 changed files with 8 additions and 2 deletions

View file

@ -13,8 +13,13 @@ struct EmulatorConfig {
static constexpr bool shaderJitDefault = false;
#endif
// For now, use specialized shaders by default
// For now, use specialized shaders by default on MacOS as M1 drivers are buggy when using the ubershader, and on Android since mobile GPUs are
// horrible On other platforms we default to ubershader + shadergen fallback for lights
#if defined(__ANDROID__) || defined(__APPLE__)
static constexpr bool ubershaderDefault = false;
#else
static constexpr bool ubershaderDefault = true;
#endif
bool shaderJitEnabled = shaderJitDefault;
bool discordRpcEnabled = false;