radeonsi: add AMD_DEBUG env var as an alternative to R600_DEBUG
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
1b8983c25b
commit
f8e4c9df47
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue