vk_pipeline_cache: Skip cache save when no pipeline cache exists
* This is the cache when loading a save state
This commit is contained in:
@@ -148,7 +148,7 @@ void PipelineCache::LoadDiskCache() {
|
||||
}
|
||||
|
||||
void PipelineCache::SaveDiskCache() {
|
||||
if (!Settings::values.use_disk_shader_cache || !EnsureDirectories()) {
|
||||
if (!Settings::values.use_disk_shader_cache || !EnsureDirectories() || !pipeline_cache) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user