util/disk_cache: enable Mesa-DB disk cache by default
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22339>
This commit is contained in:
committed by
Marge Bot
parent
5e8bb93ea3
commit
bd4fbdf510
@@ -271,10 +271,10 @@ disk_cache_create(const char *gpu_name, const char *driver_id,
|
||||
|
||||
if (debug_get_bool_option("MESA_DISK_CACHE_SINGLE_FILE", false))
|
||||
cache_type = DISK_CACHE_SINGLE_FILE;
|
||||
else if (debug_get_bool_option("MESA_DISK_CACHE_DATABASE", false))
|
||||
cache_type = DISK_CACHE_DATABASE;
|
||||
else
|
||||
else if (debug_get_bool_option("MESA_DISK_CACHE_MULTI_FILE", false))
|
||||
cache_type = DISK_CACHE_MULTI_FILE;
|
||||
else
|
||||
cache_type = DISK_CACHE_DATABASE;
|
||||
|
||||
/* Create main writable cache. */
|
||||
cache = disk_cache_type_create(gpu_name, driver_id, driver_flags,
|
||||
|
||||
Reference in New Issue
Block a user