rsx: Add missing mm_flush in blit engine before RCB reload

This commit is contained in:
kd-11
2026-08-31 01:27:51 +03:00
committed by kd-11
parent 3ef20ebb01
commit 78e70af989
+4
View File
@@ -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)...);
}