mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #1557] [MERGED] Fixed false-positive image reuploads #2170
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#2170
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/1557
Author: @roamic
Created: 11/20/2024
Status: ✅ Merged
Merged: 11/26/2024
Merged by: @georgemoralis
Base:
main← Head:fix-false-positive-image-reuploads📝 Commits (7)
0f99682Fixed false-positive image reuploads6657a7bFixed userfaultfd path, removed dead code, simplified calculations7ac7398oopsie7936dd7track potentially dirty images and hash themda28623untrack only first page of the image in case of head accessec10c5drebase, initialize hash, fix bounds check1772826include image tail in the calculations📊 Changes
9 files changed (+196 additions, -40 deletions)
View changed files
📝
src/video_core/buffer_cache/buffer_cache.cpp(+1 -1)📝
src/video_core/page_manager.cpp(+12 -4)📝
src/video_core/page_manager.h(+3 -0)📝
src/video_core/renderer_vulkan/vk_rasterizer.cpp(+3 -3)📝
src/video_core/renderer_vulkan/vk_rasterizer.h(+1 -1)📝
src/video_core/texture_cache/image.cpp(+1 -2)📝
src/video_core/texture_cache/image.h(+14 -6)📝
src/video_core/texture_cache/texture_cache.cpp(+154 -22)📝
src/video_core/texture_cache/texture_cache.h(+7 -1)📄 Description
Should fix half of the rainbow artifacts in BloodBorne.
Big thanks to @raphaelthegreat and @psucien for helping debug and fix this.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.