summaryrefslogtreecommitdiff
path: root/src/util/disk_cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/disk_cache.c')
-rw-r--r--src/util/disk_cache.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/util/disk_cache.c b/src/util/disk_cache.c
index 7f249399e0d..9a7c5c94350 100644
--- a/src/util/disk_cache.c
+++ b/src/util/disk_cache.c
@@ -242,13 +242,6 @@ disk_cache_create(const char *gpu_name, const char *timestamp)
if (getenv("MESA_GLSL_CACHE_DISABLE"))
goto fail;
- /* As a temporary measure, (while the shader cache is under
- * development, and known to not be fully functional), also require
- * the MESA_GLSL_CACHE_ENABLE variable to be set.
- */
- if (!getenv("MESA_GLSL_CACHE_ENABLE"))
- goto fail;
-
/* Determine path for cache based on the first defined name as follows:
*
* $MESA_GLSL_CACHE_DIR