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