diff options
author | Marek Olšák <[email protected]> | 2019-02-07 00:02:33 -0500 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-02-12 13:08:54 -0500 |
commit | f8e4c9df47f3263cbfb33cb6bb4303e00ba34e06 (patch) | |
tree | 5c29361aab043e2c6cce2e83e2814aaa40c1413f | |
parent | 1b8983c25be19073c02fe9630e949be55f8280fa (diff) |
radeonsi: add AMD_DEBUG env var as an alternative to R600_DEBUG
Reviewed-by: Nicolai Hähnle <[email protected]>
-rw-r--r-- | src/gallium/drivers/radeonsi/si_pipe.c | 4 |
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; |