projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c39520
)
freedreno/ir3: runtime enable RA debug for DEBUG builds
author
Rob Clark
<robclark@freedesktop.org>
Fri, 2 Jan 2015 14:28:23 +0000
(09:28 -0500)
committer
Rob Clark
<robclark@freedesktop.org>
Thu, 8 Jan 2015 00:37:28 +0000
(19:37 -0500)
Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3_ra.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/freedreno/ir3/ir3_ra.c
b/src/gallium/drivers/freedreno/ir3/ir3_ra.c
index 53b32743074346430db45ab78cf29f61a05bd810..611b5425466eda9ea5051ef192095fc135e9decc 100644
(file)
--- a/
src/gallium/drivers/freedreno/ir3/ir3_ra.c
+++ b/
src/gallium/drivers/freedreno/ir3/ir3_ra.c
@@
-60,7
+60,12
@@
struct ir3_ra_ctx {
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 { \
if (ra_debug) { \