### 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.
return transn_map.size();
}
void Transn::_bind_methods() {
	ClassDB::bind_method(D_METHOD("set_locale", "locale"), &Transn::set_locale);
	ClassDB::bind_method(D_METHOD("get_locale"), &Transn::get_locale);
	ClassDB::bind_method(D_METHOD("add_message", "src_message", "xlated_message", "context"), &Transn::add_message, DEFVAL(""));
	ClassDB::bind_method(D_METHOD("add_plural_message", "src_message", "xlated_messages", "context"), &Transn::add_plural_message, DEFVAL(""));
	ClassDB::bind_method(D_METHOD("get_message", "src_message", "context"), &Transn::get_message, DEFVAL(""));
	ClassDB::bind_method(D_METHOD("get_plural_message", "src_message", "src_plural_message", "n", "context"), &Transn::get_plural_message, DEFVAL(""));
	ClassDB::bind_method(D_METHOD("erase_message", "src_message", "context"), &Transn::erase_message, DEFVAL(""));
	ClassDB::bind_method(D_METHOD("get_message_list"), &Transn::_get_message_list);
	ClassDB::bind_method(D_METHOD("get_translated_message_list"), &Transn::get_translated_message_list);
	ClassDB::bind_method(D_METHOD("get_message_count"), &Transn::get_message_count);
	ClassDB::bind_method(D_METHOD("_set_messages", "messages"), &Transn::_set_messages);
	ClassDB::bind_method(D_METHOD("_get_messages"), &Transn::_get_messages);
	GDVIRTUAL_BIND(_get_plural_message, "src_message", "src_plural_message", "n", "context");
	GDVIRTUAL_BIND(_get_message, "src_message", "context");
	ADD_PROPERTY(PropertyInfo(Variant::DICTIONARY, "messages", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_NO_EDITOR | PROPERTY_USAGE_INTERNAL), "_set_messages", "_get_messages");
	ADD_PROPERTY(PropertyInfo(Variant::STRING, "locale"), "set_locale", "get_locale");
}
struct _character_accent_pair {
	const char32_t character;
	const char32_t *accented_character;
};
static _character_accent_pair _character_to_accented[] = {
	{ 'A', U"Å" },