mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 16:01:42 +12:00
rsx: Improve balancing of the offloader thread
- Use two counters to avoid atomic operations - Yield instead of sleeping because some games are very sensitive to timing
This commit is contained in:
parent
8249d51aa8
commit
4ff77a8555
4 changed files with 29 additions and 13 deletions
|
@ -2241,6 +2241,9 @@ namespace rsx
|
|||
// Fragment constants may have been updated
|
||||
m_graphics_state |= rsx::pipeline_state::fragment_constants_dirty;
|
||||
|
||||
// DMA sync; if you need this, don't use MTRSX
|
||||
// g_dma_manager.sync();
|
||||
|
||||
//TODO: On sync every sub-unit should finish any pending tasks
|
||||
//Might cause zcull lockup due to zombie 'unclaimed reports' which are not forcefully removed currently
|
||||
//verify (HERE), async_tasks_pending.load() == 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue