[Mesa-dev] [PATCH shader-db] run: disable GLSL shader cache

Samuel Pitoiset samuel.pitoiset at gmail.com
Tue Mar 14 23:17:53 UTC 2017


I think we just don't want to store those shaders.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
 run.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/run.c b/run.c
index 74f87fd..12a78c6 100644
--- a/run.c
+++ b/run.c
@@ -392,6 +392,7 @@ main(int argc, char **argv)
 
     setenv("allow_glsl_extension_directive_midshader", "true", 1);
     setenv("shader_precompile", "true", 1);
+    setenv("MESA_GLSL_CACHE_DISABLE", "true", 1);
     addenv("ST_DEBUG", "precompile");
     addenv("R600_DEBUG", "precompile");
     addenv("FD_MESA_DEBUG", "shaderdb");
-- 
2.12.0



More information about the mesa-dev mailing list