Track video addresses in texture cache.

This commit is contained in:
Unknown W. Brackets committed 2016-05-01 08:39:18 -07:00
1 parent 329be68f57
commit 99d29356d7
8 files changed
+41 -1

No files matched your search

+3
View File
@@ -177,6 +177,7 @@ void TextureCacheVulkan::Clear(bool delete_them) {
secondCacheSizeEstimate_ = 0;
}
fbTexInfo_.clear();
videos_.clear();
}
void TextureCacheVulkan::DeleteTexture(TexCache::iterator it) {
@@ -230,6 +231,8 @@ void TextureCacheVulkan::Decimate() {
VERBOSE_LOG(G3D, "Decimated second texture cache, saved %d estimated bytes - now %d bytes", had - secondCacheSizeEstimate_, secondCacheSizeEstimate_);
}
DecimateVideos();
}
void TextureCacheVulkan::Invalidate(u32 addr, int size, GPUInvalidationType type) {