mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 08:15:59 +03:00
[PR #3252] [MERGED] Avoid clearing HTILE when shader contains address calculation #3337
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#3337
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/3252
Author: @raphaelthegreat
Created: 7/15/2025
Status: ✅ Merged
Merged: 7/15/2025
Merged by: @georgemoralis
Base:
main← Head:new-htile📝 Commits (3)
edb8ac2resource_tracking: Mark image as written when its used with atomicsdec6968texture_cache: Remove meta registered flag7ae49cdvk_rasterizer: Use xor as heuristic for HTILE clear📊 Changes
8 files changed (+42 additions, -35 deletions)
View changed files
📝
src/shader_recompiler/frontend/instruction.h(+0 -2)📝
src/shader_recompiler/info.h(+1 -0)📝
src/shader_recompiler/ir/passes/resource_tracking_pass.cpp(+3 -2)📝
src/shader_recompiler/ir/passes/shader_info_collection_pass.cpp(+3 -0)📝
src/video_core/renderer_vulkan/vk_rasterizer.cpp(+14 -5)📝
src/video_core/texture_cache/image.h(+3 -4)📝
src/video_core/texture_cache/texture_cache.cpp(+14 -22)📝
src/video_core/texture_cache/texture_cache.h(+4 -0)📄 Description
This is the second attempt to implement https://github.com/shadps4-emu/shadPS4/pull/3167
I'm open to other ideas but that was the best heuristic I could come up with that should work in most cases
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.