mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 17:01:24 +12:00
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:
parent
d689a6e47b
commit
f0bd0b5a7c
5 changed files with 32 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue