mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 16:01:42 +12:00
rsx: Improve sync_hint callback interface
This commit is contained in:
parent
5315eb546f
commit
d2de560060
6 changed files with 23 additions and 19 deletions
|
@ -2576,7 +2576,7 @@ namespace rsx
|
|||
if (!result.queries.empty())
|
||||
{
|
||||
cond_render_ctrl.set_eval_sources(result.queries);
|
||||
sync_hint(FIFO_hint::hint_conditional_render_eval, reinterpret_cast<void*>(ref));
|
||||
sync_hint(FIFO_hint::hint_conditional_render_eval, { .query = result.queries.front(), .address = ref });
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -2624,9 +2624,9 @@ namespace rsx
|
|||
//ensure(async_tasks_pending.load() == 0);
|
||||
}
|
||||
|
||||
void thread::sync_hint(FIFO_hint /*hint*/, void* args)
|
||||
void thread::sync_hint(FIFO_hint /*hint*/, rsx::reports::sync_hint_payload_t payload)
|
||||
{
|
||||
zcull_ctrl->on_sync_hint(args);
|
||||
zcull_ctrl->on_sync_hint(payload);
|
||||
}
|
||||
|
||||
bool thread::is_fifo_idle() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue