mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-10 06:00:14 +01:00
radeon: Make debugging automaticaly increase logging verbosity for debug build.
DEBUG preprocessor macro is set by configure script when --enable-debug is passed for configure. Radeon then just increase debugging verbosity if DEBUG is set in compile time.
This commit is contained in:
parent
42fa009e64
commit
66229ea184
1 changed files with 5 additions and 1 deletions
|
|
@ -47,7 +47,11 @@ typedef enum radeon_debug_levels {
|
|||
* errors.
|
||||
*/
|
||||
#ifndef RADEON_DEBUG_LEVEL
|
||||
#define RADEON_DEBUG_LEVEL RADEON_VERBOSE
|
||||
# ifdef DEBUG
|
||||
# define RADEON_DEBUG_LEVEL RADEON_TRACE
|
||||
# else
|
||||
# define RADEON_DEBUG_LEVEL RADEON_VERBOSE
|
||||
# endif
|
||||
#endif
|
||||
|
||||
typedef enum radeon_debug_types {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue