mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-12-06 07:12:28 +01:00
rsx: Evaluate cond render test at set_render_enabled
This commit is contained in:
parent
26d47afec6
commit
db784556aa
|
|
@ -2942,6 +2942,12 @@ namespace rsx
|
|||
ptimer->async_tasks_pending -= processed;
|
||||
}
|
||||
|
||||
if (ptimer->conditional_render_enabled && ptimer->conditional_render_test_address)
|
||||
{
|
||||
ptimer->conditional_render_test_failed = vm::read32(ptimer->conditional_render_test_address) == 0;
|
||||
ptimer->conditional_render_test_address = 0;
|
||||
}
|
||||
|
||||
//Critical, since its likely a WAIT_FOR_IDLE type has been processed, all results are considered available
|
||||
m_cycles_delay = min_zcull_delay_us;
|
||||
m_tsc = std::max(m_tsc, get_system_time());
|
||||
|
|
|
|||
Loading…
Reference in a new issue