mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-11-01 11:58:19 +00:00
[video_core] Revert 4490 and 4531 (#4584)
- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions). - [x] I have read and followed the [AI Policy](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/AI.md). - [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability. ------------------- Reverting NCE Invalidation readbacks. Me and Maran had discussed the risk of this be costly without alternative before. After 2 or 3 weeks, a new regression has shown up: Pavel's device gets slow as fuck in DKCR. I've prolly tackled that one too, but i don't like the solution anymore. I had to infiltrate so much stuff that the weight of be working on the symptom instead of the root cause has grown way too much. I'm reverting so we can get a clean base, then i will research deeper so we can maybe find a more surgical yet wider fix. Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4584 Reviewed-by: Maufeat <sahyno1996@gmail.com> Reviewed-by: Pavel Barabanov <pavelbarabanov94@gmail.com>
This commit is contained in:
@@ -248,7 +248,7 @@ public:
|
||||
void FlushRegion(DAddr addr, u64 size);
|
||||
|
||||
/// Notify rasterizer that any caches of the specified region should be invalidated
|
||||
void InvalidateRegion(DAddr addr, u64 size, bool preserve_gpu_writes = false);
|
||||
void InvalidateRegion(DAddr addr, u64 size);
|
||||
|
||||
/// Notify rasterizer that CPU is trying to write this area. It returns true if the area is
|
||||
/// sensible, false otherwise, addr and size must be a valid combination
|
||||
|
||||
Reference in New Issue
Block a user