Skip to content

rsx/texture-cache: Rework invalidation flags to be more granular#16350

Merged
kd-11 merged 3 commits intoRPCS3:masterfrom
kd-11:memprotect-v2
Nov 25, 2024
Merged

rsx/texture-cache: Rework invalidation flags to be more granular#16350
kd-11 merged 3 commits intoRPCS3:masterfrom
kd-11:memprotect-v2

Conversation

@kd-11
Copy link
Copy Markdown
Contributor

@kd-11 kd-11 commented Nov 24, 2024

A reasonable speedup in texture cache traversal and invalidation in some corner cases involving large texture blocks. This allows us to be specific when invalidating data presumed to be trampled allowing greater mix-and-match freedom. A good example is blit engine, where we want to mark the destination as potentially new data, but we don't need to invalidate anything that lies outside the target (e.g partial overlaps) as they are not actually getting replaced and we'll be reprotecting the memory anyway.
A follow-up enhancing the protection behavior for texture caching will be pushed at a later time.

@Megamouse Megamouse added the RSX label Nov 25, 2024
@kd-11 kd-11 merged commit 3e427c5 into RPCS3:master Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants