From f8e4c9df47f3263cbfb33cb6bb4303e00ba34e06 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Thu, 7 Feb 2019 00:02:33 -0500 Subject: [PATCH] radeonsi: add AMD_DEBUG env var as an alternative to R600_DEBUG MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_pipe.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index c6f93e7b15e..20767c806d2 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -849,7 +849,9 @@ struct pipe_screen *radeonsi_screen_create(struct radeon_winsys *ws, } sscreen->debug_flags = debug_get_flags_option("R600_DEBUG", - debug_options, 0); + debug_options, 0); + sscreen->debug_flags |= debug_get_flags_option("AMD_DEBUG", + debug_options, 0); /* Set functions first. */ sscreen->b.context_create = si_pipe_create_context; -- 2.30.2