From 7d41b8fe4ee27559982b73d1d772e278dd550e62 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 9 Mar 2023 07:07:32 -0500 Subject: [PATCH] tu: don't set startup debug on debug builds this is incredibly annoying on normal linux systems Part-of: --- src/freedreno/vulkan/tu_util.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/freedreno/vulkan/tu_util.c b/src/freedreno/vulkan/tu_util.c index b03d384..6f74246 100644 --- a/src/freedreno/vulkan/tu_util.c +++ b/src/freedreno/vulkan/tu_util.c @@ -47,14 +47,6 @@ tu_env_init_once(void) tu_env.debug = parse_debug_string(os_get_option("TU_DEBUG"), tu_debug_options); -#ifdef DEBUG - /* Enable startup debugging by default on debug drivers. You almost always - * want to see your startup failures in that case, and it's hard to set - * this env var on android. - */ - tu_env.debug |= TU_DEBUG_STARTUP; -#endif - if (TU_DEBUG(STARTUP)) mesa_logi("TU_DEBUG=0x%x", tu_env.debug); } -- 2.7.4