From e3a01a5d1b019e7b00218ba526874f4c77ea8bee Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Thu, 23 Feb 2017 13:09:03 +1100 Subject: Revert "glsl: Switch to disable-by-default for the GLSL shader cache" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 0f60c6616e93cba72bff4fbfedb72a753ef78e05. Piglit and all games tested so far seem to be working without issue. This change will allow wide user testing and we can decided before the next release if we need to turn it off again. Reviewed-by: Marek Olšák --- src/compiler/glsl/tests/cache_test.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/compiler/glsl/tests/cache_test.c') diff --git a/src/compiler/glsl/tests/cache_test.c b/src/compiler/glsl/tests/cache_test.c index c4e6e369942..de92e5aba0e 100644 --- a/src/compiler/glsl/tests/cache_test.c +++ b/src/compiler/glsl/tests/cache_test.c @@ -428,11 +428,6 @@ main(void) #ifdef ENABLE_SHADER_CACHE int err; - /* While the shader cache is still experimental, this variable must - * be set or the cache does nothing. - */ - setenv("MESA_GLSL_CACHE_ENABLE", "1", 1); - test_disk_cache_create(); test_put_and_get(); -- cgit v1.2.3