mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00: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:
parent
d9a3b29a07
commit
a8343cc19a
3 changed files with 58 additions and 35 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue