aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_debug.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-04-10 23:58:34 +0200
committerMarek Olšák <[email protected]>2015-04-16 18:36:29 +0200
commit99eef3b8b324d3be6f3b8f2a34c95006d8205599 (patch)
treeaa688b79742a30015b9629d18f3aab4b8cb5344c /src/mesa/state_tracker/st_debug.h
parent993a6288f72fa98932df7cdb6f64d9dd645e670d (diff)
st/mesa: add a debug option to compile shaders at link time
v2: fix crashes Tested-by: Tom Stellard <[email protected]> Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_debug.h')
-rw-r--r--src/mesa/state_tracker/st_debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_debug.h b/src/mesa/state_tracker/st_debug.h
index cc81978360c..288eccf9f9c 100644
--- a/src/mesa/state_tracker/st_debug.h
+++ b/src/mesa/state_tracker/st_debug.h
@@ -47,6 +47,7 @@ st_print_current(void);
#define DEBUG_DRAW 0x100
#define DEBUG_BUFFER 0x200
#define DEBUG_WIREFRAME 0x400
+#define DEBUG_PRECOMPILE 0x800
#ifdef DEBUG
extern int ST_DEBUG;