From 1616942943bb4a3aae160ee64b7d4c25d55a74c1 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sun, 16 Mar 2025 22:00:47 +0300 Subject: [PATCH] rsx: Always execute pre-draw pipeline analysis regardless of flags --- rpcs3/Emu/RSX/GL/GLDraw.cpp | 5 +---- rpcs3/Emu/RSX/VK/VKDraw.cpp | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/rpcs3/Emu/RSX/GL/GLDraw.cpp b/rpcs3/Emu/RSX/GL/GLDraw.cpp index 9d2bf887c4..c02f12c8c4 100644 --- a/rpcs3/Emu/RSX/GL/GLDraw.cpp +++ b/rpcs3/Emu/RSX/GL/GLDraw.cpp @@ -740,10 +740,7 @@ void GLGSRender::end() return; } - if (m_graphics_state & (rsx::pipeline_state::fragment_program_ucode_dirty | rsx::pipeline_state::vertex_program_ucode_dirty)) - { - analyse_current_rsx_pipeline(); - } + analyse_current_rsx_pipeline(); m_frame_stats.setup_time += m_profiler.duration(); diff --git a/rpcs3/Emu/RSX/VK/VKDraw.cpp b/rpcs3/Emu/RSX/VK/VKDraw.cpp index 7c40cc12ad..acff7b7954 100644 --- a/rpcs3/Emu/RSX/VK/VKDraw.cpp +++ b/rpcs3/Emu/RSX/VK/VKDraw.cpp @@ -1031,10 +1031,7 @@ void VKGSRender::end() m_current_frame->flags &= ~frame_context_state::dirty; } - if (m_graphics_state & (rsx::pipeline_state::fragment_program_ucode_dirty | rsx::pipeline_state::vertex_program_ucode_dirty)) - { - analyse_current_rsx_pipeline(); - } + analyse_current_rsx_pipeline(); m_frame_stats.setup_time += m_profiler.duration();