### Godot version

4.2

### System information

Windows 11

### Issue description

I started a project in Godot 4 and updated Godot and ended up with Godot 4.2dev_6 because this was compatible with the modi_player addon and Glow at the same time. Other Versions either had framrate issues (like the main problem i have now) or the addon not working.

After Godot 4.2 stable came out, I tried to work in my game with this Version and get massive framerate issues (5fps) in the forward+ and mobile renderer, even in an empty scene. I tried turning off hdr / glow and changed other project settings, but nothing works. 
When I change to the Compatibility render I get the maximum amount of frames possible.

I have a Asus Rog Flow X13, Ryzen 7, GTX 1650 with Max-Q Design and a AMD Radeon Graphics 


### Steps to reproduce

its only in this project, no else, but here are the stept I did with the Game.
- Started dev. in Godot 4.0
- Updated to Godot 4.1
- Installed Godot4.2_dev 3 for hdr glow (in 2D)
- changed to Godot 4.2dev6 because of the midi player addon
- now used a backup copy of my game to test Godot 4.2 stable

### Minimal reproduction project

I won't upload my game here, because I'm pretty far in developement.
ClassDB::bind_method(D_METHOD("set_locale", "locale"), &TransnServer::set_locale);
	ClassDB::bind_method(D_METHOD("get_locale"), &TransnServer::get_locale);
	ClassDB::bind_method(D_METHOD("get_tool_locale"), &TransnServer::get_tool_locale);
	ClassDB::bind_method(D_METHOD("compare_locales", "locale_a", "locale_b"), &TransnServer::compare_locales);
	ClassDB::bind_method(D_METHOD("standardize_locale", "locale"), &TransnServer::standardize_locale);
	ClassDB::bind_method(D_METHOD("get_all_languages"), &TransnServer::get_all_languages);
	ClassDB::bind_method(D_METHOD("get_language_name", "language"), &TransnServer::get_language_name);
	ClassDB::bind_method(D_METHOD("get_all_scripts"), &TransnServer::get_all_scripts);
	ClassDB::bind_method(D_METHOD("get_script_name", "script"), &TransnServer::get_script_name);
	ClassDB::bind_method(D_METHOD("get_all_countries"), &TransnServer::get_all_countries);
	ClassDB::bind_method(D_METHOD("get_country_name", "country"), &TransnServer::get_country_name);
	ClassDB::bind_method(D_METHOD("get", "locale"), &TransnServer::get);
	ClassDB::bind_method(D_METHOD("translate", "message", "context"), &TransnServer::translate, DEFVAL(""));
	ClassDB::bind_method(D_METHOD("translate_plural", "message", "plural_message", "n", "context"), &TransnServer::translate_plural, DEFVAL(""));
	ClassDB::bind_method(D_METHOD("add_transn", "transn"), &TransnServer::add_transn);
	ClassDB::bind_method(D_METHOD("remove_transn", "transn"), &TransnServer::remove_transn);
	ClassDB::bind_method(D_METHOD("get_transn_object", "locale"), &TransnServer::get_transn_object);
	ClassDB::bind_method(D_METHOD("clear"), &TransnServer::clear);
	ClassDB::bind_method(D_METHOD("get_loaded_locales"), &TransnServer::get_loaded_locales);
	ClassDB::bind_method(D_METHOD("is_pseudolocalization_enabled"), &TransnServer::is_pseudolocalization_enabled);
	ClassDB::bind_method(D_METHOD("set_pseudolocalization_enabled", "enabled"), &TransnServer::set_pseudolocalization_enabled);
	ClassDB::bind_method(D_METHOD("reload_pseudolocalization"), &TransnServer::reload_pseudolocalization);
	ClassDB::bind_method(D_METHOD("pseudolocalize", "message"), &TransnServer::pseudolocalize);
	ADD_PROPERTY(PropertyInfo(Variant::Type::BOOL, "pseudolocalization_enabled"), "set_pseudolocalization_enabled", "is_pseudolocalization_enabled");
}
void TransnServer::load_transns() {