freedreno/ir3: runtime enable RA debug for DEBUG builds
Signed-off-by: Rob Clark <robclark@freedesktop.org>
This commit is contained in:
parent
8c3952051e
commit
212b909643
|
@ -60,7 +60,12 @@ struct ir3_ra_ctx {
|
||||||
bool error;
|
bool error;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define ra_debug 0
|
#ifdef DEBUG
|
||||||
|
# include "freedreno_util.h"
|
||||||
|
# define ra_debug (fd_mesa_debug & FD_DBG_OPTMSGS)
|
||||||
|
#else
|
||||||
|
# define ra_debug 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#define ra_dump_list(msg, n) do { \
|
#define ra_dump_list(msg, n) do { \
|
||||||
if (ra_debug) { \
|
if (ra_debug) { \
|
||||||
|
|
Loading…
Reference in New Issue