projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
pan/bi: Print shaders only if BIFROST_MESA_DEBUG=shaders
[mesa.git]
/
src
/
panfrost
/
bifrost
/
bifrost.h
diff --git
a/src/panfrost/bifrost/bifrost.h
b/src/panfrost/bifrost/bifrost.h
index ad2b2ac01b7c4f6e2872650e6141b40986c4f5be..3e8e0229e9d0f43638c7c900aec5a47039a8eecd 100644
(file)
--- a/
src/panfrost/bifrost/bifrost.h
+++ b/
src/panfrost/bifrost/bifrost.h
@@
-29,6
+29,11
@@
#include <stdint.h>
#include <stdbool.h>
+#define BIFROST_DBG_MSGS 0x0001
+#define BIFROST_DBG_SHADERS 0x0002
+
+extern int bifrost_debug;
+
enum bifrost_clause_type {
BIFROST_CLAUSE_NONE = 0,
BIFROST_CLAUSE_LOAD_VARY = 1,