From d861eb5fc2b0cce097efa88c8b783f118fd0eb9c Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Fri, 8 Sep 2017 10:49:45 +0100 Subject: util/disk_cache: turn MESA_GLSL_CACHE_DISABLE into a boolean Instead of setting based on set/unset, allow users to use boolean values. In the docs and tests, use `DISABLE=true` instead of `DISABLE=1` as it's clearer IMO. Signed-off-by: Eric Engestrom Reviewed-by: Timothy Arceri Reviewed-by: Emil Velikov --- docs/envvars.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/envvars.html b/docs/envvars.html index 45e45eb0c9..51c930f013 100644 --- a/docs/envvars.html +++ b/docs/envvars.html @@ -117,7 +117,7 @@ glGetString(GL_VERSION) for OpenGL ES. glGetString(GL_SHADING_LANGUAGE_VERSION). Valid values are integers, such as "130". Mesa will not really implement all the features of the given language version if it's higher than what's normally reported. (for developers only) -
  • MESA_GLSL_CACHE_DISABLE - if set, disables the GLSL shader cache +
  • MESA_GLSL_CACHE_DISABLE - if set to `true`, disables the GLSL shader cache
  • MESA_GLSL_CACHE_MAX_SIZE - if set, determines the maximum size of the on-disk cache of compiled GLSL programs. Should be set to a number optionally followed by 'K', 'M', or 'G' to specify a size in -- cgit v1.2.3