Commit 5b8cd4ca authored by Samuel Pitoiset's avatar Samuel Pitoiset

run: use setenv() for setting GALLIUM_THREAD=0

When GALLIUM_THREAD is already set in the environment, addenv()
will end up by setting GALLIUM_THREAD="0,0" which mesa doesn't
understand for some obvious reasons. Instead, use setenv()
because we want to force this behaviour in all situations.
Signed-off-by: Samuel Pitoiset's avatarSamuel Pitoiset <>
Reviewed-by: default avatarMarek Olšák <>
parent d0962a11
......@@ -393,10 +393,10 @@ 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);
setenv("GALLIUM_THREAD", "0", 1);
addenv("ST_DEBUG", "precompile");
addenv("R600_DEBUG", "precompile");
addenv("FD_MESA_DEBUG", "shaderdb");
addenv("GALLIUM_THREAD", "0");
const char *client_extensions = eglQueryString(EGL_NO_DISPLAY,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment