rsx: Asynchronously flush the pipelines when handing ZCULL memory access violations

This commit is contained in:
kd-11 2022-05-21 00:53:48 +03:00 committed by kd-11
parent 0e1333ed5f
commit 4e6be9172a
3 changed files with 11 additions and 6 deletions

View file

@ -1070,6 +1070,11 @@ namespace rsx
}
}
}
if (m_eng_interrupt_mask & rsx::pipe_flush_interrupt)
{
sync();
}
}
std::array<u32, 4> thread::get_color_surface_addresses() const
@ -2612,6 +2617,8 @@ namespace rsx
void thread::sync()
{
m_eng_interrupt_mask.clear(rsx::pipe_flush_interrupt);
if (zcull_ctrl->has_pending())
{
zcull_ctrl->sync(this);