From: Marek Olšák Date: Thu, 7 Feb 2019 05:02:33 +0000 (-0500) Subject: radeonsi: add AMD_DEBUG env var as an alternative to R600_DEBUG X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f8e4c9df47f3263cbfb33cb6bb4303e00ba34e06;p=mesa.git radeonsi: add AMD_DEBUG env var as an alternative to R600_DEBUG Reviewed-by: Nicolai Hähnle --- 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;