util/disk_cache: create timestamp and gpu_id dirs when MESA_GLSL_CACHE_DIR is used
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 21 Feb 2017 05:34:49 +0000 (16:34 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 21 Feb 2017 21:40:14 +0000 (08:40 +1100)
commit0441e6bc8b377cf7a7b8441bca69121b98e30620
tree55e375d4d9be01fc988d6710309585919b7953cc
parent207e3a6e4b6d70a965f2852204c35ccf42fe3533
util/disk_cache: create timestamp and gpu_id dirs when MESA_GLSL_CACHE_DIR is used

The make check test is also updated to make sure these dirs are created.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/compiler/glsl/tests/cache_test.c
src/util/disk_cache.c