renderer: cache dynamic graphics state

This commit is contained in:
nmzik committed 2026-10-10 03:28:02 +02:00
1 parent 5559cfcbb2
commit 93452b24e3
6 files changed
+442 -32

No files matched your search

@@ -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;
}