rpcs3
rpcs3 copied to clipboard
rsx/texture-cache: Rework invalidation flags to be more granular
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.