renderer: cache dynamic graphics state

This commit is contained in:
nmzik
2026-10-10 00:28:51 +02:00
parent 5559cfcbb2
commit 93452b24e3
6 changed files with 442 additions and 32 deletions
@@ -334,6 +334,7 @@ CommandBuffer& CommandScheduler::BeginCommand() {
EXIT_IF(!m_command.IsInvalid());
m_command.m_buffer = m_command_pool.Commit();
m_command.Begin();
m_dynamic_state.Invalidate();
return m_command;
}