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 <[email protected]> --- run.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.c b/run.c index f9bc86a..c001447 100644 --- a/run.c +++ b/run.c @@ -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, EGL_EXTENSIONS); -- 2.13.0 _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
