mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
VideoCommon: Move shader cache filename generation to common
This commit is contained in:
parent
7c5bbafdd1
commit
d01b0bf60f
9 changed files with 61 additions and 51 deletions
|
@ -147,7 +147,8 @@ void StateTracker::ReloadPipelineUIDCache()
|
|||
m_uid_cache.Close();
|
||||
|
||||
// UID caches don't contain any host state, so use a single uid cache per gameid.
|
||||
std::string filename = g_object_cache->GetDiskCacheFileName("pipeline-uid", true, false);
|
||||
std::string filename =
|
||||
g_ActiveConfig.GetDiskCacheFileName(APIType::Vulkan, "PipelineUID", true, false);
|
||||
if (g_ActiveConfig.bShaderCache)
|
||||
{
|
||||
PipelineInserter inserter(this);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue