mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-10-11 22:49:55 +00:00
rsx: Add missing mm_flush in blit engine before RCB reload
This commit is contained in:
@@ -3740,6 +3740,10 @@ namespace rsx
|
||||
}
|
||||
}
|
||||
|
||||
// MM flush before commit below
|
||||
const auto mm_flush_range = utils::address_range64::start_length(reinterpret_cast<u64>(dst.pixels), dst_payload_length);
|
||||
rsx::mm_flush({ mm_flush_range });
|
||||
|
||||
// Commit any pending writes before we do the transfer. Writes will be done on super_ptr so locking beforehand is ok.
|
||||
m_rtts.prepare_transfer_target(cmd, dst_subres.surface, rsx::surface_access::transfer_write, std::forward<Args>(extras)...);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user