rsx: Conditional render sync optimization

- ZCULL queue was updated to one-per-cb but the conditional render sync hint was not updated.
- Do not unconditionally flush the queue unless the upcoming ref is contained in the active CB.
- This avoids spamming queue flush, which frees up resources and improves performance
This commit is contained in:
kd-11 2019-07-30 15:22:53 +03:00 committed by kd-11
parent d689a6e47b
commit f0bd0b5a7c
5 changed files with 32 additions and 7 deletions

View file

@ -3095,5 +3095,16 @@ namespace rsx
update(ptimer, sync_address);
}
}
occlusion_query_info* ZCULL_control::find_query(vm::addr_t sink_address)
{
for (auto &writer : m_pending_writes)
{
if (writer.sink == sink_address)
return writer.query;
}
return nullptr;
}
}
}