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

@ -581,7 +581,7 @@ namespace rsx
}
// Defer conditional render evaluation
rsx->sync_hint(FIFO_hint::hint_conditional_render_eval);
rsx->sync_hint(FIFO_hint::hint_conditional_render_eval, address_ptr);
rsx->conditional_render_test_address = address_ptr;
rsx->conditional_render_test_failed = false;
}