util/disk_cache: turn MESA_GLSL_CACHE_DISABLE into a boolean
authorEric Engestrom <eric.engestrom@imgtec.com>
Fri, 8 Sep 2017 09:49:45 +0000 (10:49 +0100)
committerEric Engestrom <eric.engestrom@imgtec.com>
Tue, 12 Sep 2017 12:53:12 +0000 (13:53 +0100)
commitd861eb5fc2b0cce097efa88c8b783f118fd0eb9c
tree9337c07cba2507052dd653f394a4e3674db15cc8
parent717fb6e4be9891cf77bb7ab43bda53ed62de747b
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>
docs/envvars.html
src/compiler/glsl/tests/cache_test.c
src/util/disk_cache.c