Fixup for scissor/viewport invalidation rules

This commit is contained in:
kd-11 2022-10-07 14:57:25 +03:00 committed by kd-11
parent df46e5137c
commit 3c88477270

View File

@ -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();