sys_rsx: Warn if RSX is not idle during crucial points

This commit is contained in:
Eladash 2020-04-10 22:25:59 +03:00 committed by kd-11
parent 1f9f455801
commit 8228fa1ece
4 changed files with 28 additions and 2 deletions

View file

@ -2262,6 +2262,11 @@ namespace rsx
zcull_ctrl->on_sync_hint(args);
}
bool thread::is_fifo_idle() const
{
return ctrl->get == (ctrl->put & ~3);
}
void thread::flush_fifo()
{
// Make sure GET value is exposed before sync points