### 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.
if (OS::get_singleton()->get_main_loop() && TransnServer::get_singleton()->get_loaded_locales().has(get_locale())) {
		OS::get_singleton()->get_main_loop()->notification(MainLoop::NOTIFICATION_TRANSLATION_CHANGED);
	}
}
void Transn::add_message(const StringName &p_src_text, const StringName &p_xlated_text, const StringName &p_context) {
	transn_map[p_src_text] = p_xlated_text;
}
void Transn::add_plural_message(const StringName &p_src_text, const Vector<String> &p_plural_xlated_texts, const StringName &p_context) {
	WARN_PRINT("Transn class doesn't handle plural messages. Calling add_plural_message() on a Transn instance is probably a mistake. \nUse a derived Transn class that handles plurals, such as TransnPO class");
	ERR_FAIL_COND_MSG(p_plural_xlated_texts.is_empty(), "Parameter vector p_plural_xlated_texts passed in is empty.");
	transn_map[p_src_text] = p_plural_xlated_texts[0];
}
StringName Transn::get_message(const StringName &p_src_text, const StringName &p_context) const {
	StringName ret;
	if (GDVIRTUAL_CALL(_get_message, p_src_text, p_context, ret)) {
		return ret;
	}
	if (p_context != StringName()) {
		WARN_PRINT("Transn class doesn't handle context. Using context in get_message() on a Transn instance is probably a mistake. \nUse a derived Transn class that handles context, such as TransnPO class");
	}
	HashMap<StringName, StringName>::ConstIterator E = transn_map.find(p_src_text);
	if (!E) {
		return StringName();
	}
	return E->value;
}
StringName Transn::get_plural_message(const StringName &p_src_text, const StringName &p_plural_text, int p_n, const StringName &p_context) const {