From 3c88477270bfef500e375e26a66a003c890c0069 Mon Sep 17 00:00:00 2001 From: kd-11 Date: Fri, 7 Oct 2022 14:57:25 +0300 Subject: [PATCH] Fixup for scissor/viewport invalidation rules --- rpcs3/Emu/RSX/VK/VKDraw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/RSX/VK/VKDraw.cpp b/rpcs3/Emu/RSX/VK/VKDraw.cpp index 9e366ba38b..ec1d3a57f9 100644 --- a/rpcs3/Emu/RSX/VK/VKDraw.cpp +++ b/rpcs3/Emu/RSX/VK/VKDraw.cpp @@ -211,6 +211,7 @@ void VKGSRender::update_draw_state() //TODO: Set up other render-state parameters into the program pipeline m_current_command_buffer->flags &= ~vk::command_buffer::cb_reload_dynamic_state; + m_graphics_state &= ~rsx::pipeline_state::polygon_offset_state_dirty; m_frame_stats.setup_time += m_profiler.duration(); } @@ -1044,7 +1045,6 @@ void VKGSRender::end() if (m_graphics_state & rsx::pipeline_state::invalidate_vk_dynamic_state) { m_current_command_buffer->flags |= vk::command_buffer::cb_reload_dynamic_state; - m_graphics_state &= ~rsx::pipeline_state::invalidate_vk_dynamic_state; } rsx::method_registers.current_draw_clause.begin();