[PR #3672] [MERGED] video_core: Better handling of image copies with DmaData #3643

Closed
opened 2026-02-27 22:04:28 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3672
Author: @raphaelthegreat
Created: 9/29/2025
Status: Merged
Merged: 9/30/2025
Merged by: @georgemoralis

Base: mainHead: cursed-dma


📝 Commits (1)

  • d5bf4c7 video_core: Better handling of image copies with DmaData

📊 Changes

4 files changed (+55 additions, -93 deletions)

View changed files

📝 src/video_core/buffer_cache/buffer.cpp (+36 -0)
📝 src/video_core/buffer_cache/buffer.h (+8 -11)
📝 src/video_core/buffer_cache/buffer_cache.cpp (+11 -77)
📝 src/video_core/buffer_cache/buffer_cache.h (+0 -5)

📄 Description

The patch essentially does 2 things:

  • Removes cpu fast path for CopyBuffer. This is not that useful and would make copying render targets harder
  • Always invalidate texture cache on destination range

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/3672 **Author:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Created:** 9/29/2025 **Status:** ✅ Merged **Merged:** 9/30/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `cursed-dma` --- ### 📝 Commits (1) - [`d5bf4c7`](https://github.com/shadps4-emu/shadPS4/commit/d5bf4c72b0149c98c953402d1187b9145818418d) video_core: Better handling of image copies with DmaData ### 📊 Changes **4 files changed** (+55 additions, -93 deletions) <details> <summary>View changed files</summary> 📝 `src/video_core/buffer_cache/buffer.cpp` (+36 -0) 📝 `src/video_core/buffer_cache/buffer.h` (+8 -11) 📝 `src/video_core/buffer_cache/buffer_cache.cpp` (+11 -77) 📝 `src/video_core/buffer_cache/buffer_cache.h` (+0 -5) </details> ### 📄 Description The patch essentially does 2 things: - Removes cpu fast path for CopyBuffer. This is not that useful and would make copying render targets harder - Always invalidate texture cache on destination range --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:04:28 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#3643
No description provided.