mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-27 09:32:30 -06:00
Log the number of entries in each cache
This commit is contained in:
parent
45bc5b465e
commit
936094dd27
1 changed files with 5 additions and 0 deletions
|
@ -169,6 +169,7 @@ std::optional<std::vector<ShaderDiskCacheRaw>> ShaderDiskCache::LoadTransferable
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LOG_INFO(Render_OpenGL, "Found a transferable disk cache with {} entries", raws.size());
|
||||||
return {raws};
|
return {raws};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -266,6 +267,10 @@ ShaderDiskCache::LoadPrecompiledFile(FileUtil::IOFile& file) {
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LOG_INFO(Render_OpenGL,
|
||||||
|
"Found a precompiled disk cache with {} decompiled entries and {} binary entries",
|
||||||
|
decompiled.size(), dumps.size());
|
||||||
return {{decompiled, dumps}};
|
return {{decompiled, dumps}};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue