summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/drivers/etnaviv/etnaviv_debug.h
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2023-11-02 04:53:47 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2023-11-02 04:53:47 +0000
commitb44518130b33cadb5c1d619e9e936ae0e0dbf7cb (patch)
tree6069eb03c39fbc79808a7d94f857118cce75cbe3 /lib/mesa/src/gallium/drivers/etnaviv/etnaviv_debug.h
parent32aeb3c41fedbbd7b11aacfec48e8f699d16bff0 (diff)
Merge Mesa 23.1.9
Diffstat (limited to 'lib/mesa/src/gallium/drivers/etnaviv/etnaviv_debug.h')
-rw-r--r--lib/mesa/src/gallium/drivers/etnaviv/etnaviv_debug.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/mesa/src/gallium/drivers/etnaviv/etnaviv_debug.h b/lib/mesa/src/gallium/drivers/etnaviv/etnaviv_debug.h
index 45e498857..61543f07e 100644
--- a/lib/mesa/src/gallium/drivers/etnaviv/etnaviv_debug.h
+++ b/lib/mesa/src/gallium/drivers/etnaviv/etnaviv_debug.h
@@ -56,6 +56,7 @@
#define ETNA_DBG_NOCACHE 0x1000000 /* Disable shader cache */
#define ETNA_DBG_LINEAR_PE 0x2000000 /* Enable linear PE */
#define ETNA_DBG_MSAA 0x4000000 /* Enable MSAA */
+#define ETNA_DBG_SHARED_TS 0x8000000 /* Enable TS sharing */
extern int etna_mesa_debug; /* set in etnaviv_screen.c from ETNA_MESA_DEBUG */
@@ -64,21 +65,21 @@ extern int etna_mesa_debug; /* set in etnaviv_screen.c from ETNA_MESA_DEBUG */
#define DBG_F(flag, fmt, ...) \
do { \
if (etna_mesa_debug & (flag)) \
- mesa_logd("%s:%d: " fmt, __FUNCTION__, __LINE__, \
+ mesa_logd("%s:%d: " fmt, __func__, __LINE__, \
##__VA_ARGS__); \
} while (0)
#define DBG(fmt, ...) \
do { \
if (etna_mesa_debug & ETNA_DBG_MSGS) \
- mesa_logd("%s:%d: " fmt, __FUNCTION__, __LINE__, \
+ mesa_logd("%s:%d: " fmt, __func__, __LINE__, \
##__VA_ARGS__); \
} while (0)
/* A serious bug, show this even in non-debug mode */
#define BUG(fmt, ...) \
do { \
- mesa_loge("%s:%d: " fmt, __FUNCTION__, __LINE__, ##__VA_ARGS__); \
+ mesa_loge("%s:%d: " fmt, __func__, __LINE__, ##__VA_ARGS__); \
} while (0)
#endif