Re: [Mesa-dev] [PATCH] util/disk_cache: avoid making mesa subdir when cache dir is specified

2017-03-24 Thread Timothy Arceri
I'm not sure this is a good idea. Adding an extra dir doesn't do much harm, on the other hand if MESA_GLSL_CACHE_DIR is not a newly create dir just for the cache we could run into problems. I think I'd rather leave this as is. On 25/03/17 10:06, Grazvydas Ignotas wrote: When

[Mesa-dev] [PATCH] util/disk_cache: avoid making mesa subdir when cache dir is specified

2017-03-24 Thread Grazvydas Ignotas
When MESA_GLSL_CACHE_DIR is specified, we currently add a /mesa subdir even though the documentation and nearby comment in the code make no mention of it. Doesn't look useful too, remove. Signed-off-by: Grazvydas Ignotas --- src/compiler/glsl/tests/cache_test.c | 2 +-