summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gallium/drivers/radeonsi/si_pipe.c4
1 files changed, 3 insertions, 1 deletions
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;