mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Vulkan: Don't save pipeline cache if shader cache is disabled
We still create a pipeline cache object, since that speeds up driver's creation of pipelines at runtime. However, we should not save it.
This commit is contained in:
@ -163,7 +163,8 @@ public:
|
||||
std::string GetDiskCacheFileName(const char* type);
|
||||
|
||||
private:
|
||||
bool CreatePipelineCache(bool load_from_disk);
|
||||
bool CreatePipelineCache();
|
||||
bool LoadPipelineCache();
|
||||
bool ValidatePipelineCache(const u8* data, size_t data_length);
|
||||
void DestroyPipelineCache();
|
||||
void LoadShaderCaches();
|
||||
|
Reference in New Issue
Block a user