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

@@ -193,6 +193,8 @@ void BlitHelper::ReinterpretColorAsMsDepth(Image& source, Image& destination) {
command.setScissor(0, 1, &scissor);
command.draw(3, 1, 0, 0);
command.endRendering();
// The helper pipeline has static state that invalidates the guest draw's dynamic state.
m_scheduler.GetDynamicState().Invalidate();
}
} // namespace Libs::Graphics