summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/etnaviv/etnaviv_debug.h
diff options
context:
space:
mode:
authorJonathan Marek <[email protected]>2019-05-11 09:51:42 -0400
committerJonathan Marek <[email protected]>2019-08-06 10:33:17 -0400
commited7a27719a9fceb7271dfd97b2217c787356f21a (patch)
tree58ec81594147a7daabc4bbb3f8c2b2b473ab02e6 /src/gallium/drivers/etnaviv/etnaviv_debug.h
parentee1ed59458741d36b217f80ebd83ffbd3426bf05 (diff)
etnaviv: add alternative NIR compiler
enable with ETNA_MESA_DEBUG=nir Signed-off-by: Jonathan Marek <[email protected]> Reviewed-by: Philipp Zabel <[email protected]>
Diffstat (limited to 'src/gallium/drivers/etnaviv/etnaviv_debug.h')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_debug.h b/src/gallium/drivers/etnaviv/etnaviv_debug.h
index 4051e95dd5f..7676e5adce1 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_debug.h
+++ b/src/gallium/drivers/etnaviv/etnaviv_debug.h
@@ -53,6 +53,7 @@
#define ETNA_DBG_DRAW_STALL 0x400000 /* Stall FE/PE after every draw op */
#define ETNA_DBG_SHADERDB 0x800000 /* dump program compile information */
#define ETNA_DBG_NO_SINGLEBUF 0x1000000 /* disable single buffer feature */
+#define ETNA_DBG_NIR 0x2000000 /* use new NIR compiler */
extern int etna_mesa_debug; /* set in etna_screen.c from ETNA_DEBUG */