diff options
author | Eric Engestrom <eric.engestrom@imgtec.com> | 2017-09-08 10:49:45 +0100 |
---|---|---|
committer | Eric Engestrom <eric.engestrom@imgtec.com> | 2017-09-12 13:53:12 +0100 |
commit | d861eb5fc2b0cce097efa88c8b783f118fd0eb9c (patch) | |
tree | 9337c07cba2507052dd653f394a4e3674db15cc8 /docs | |
parent | 717fb6e4be9891cf77bb7ab43bda53ed62de747b (diff) |
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 <eric.engestrom@imgtec.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/envvars.html | 2 |
1 files changed, 1 insertions, 1 deletions
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) -<li>MESA_GLSL_CACHE_DISABLE - if set, disables the GLSL shader cache +<li>MESA_GLSL_CACHE_DISABLE - if set to `true`, disables the GLSL shader cache <li>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 |