aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_debug.c
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.c
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.c')
-rw-r--r--src/mesa/state_tracker/st_debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_debug.c b/src/mesa/state_tracker/st_debug.c
index de3e3a9cdb2..50891c112cb 100644
--- a/src/mesa/state_tracker/st_debug.c
+++ b/src/mesa/state_tracker/st_debug.c
@@ -56,6 +56,7 @@ static const struct debug_named_value st_debug_flags[] = {
{ "draw", DEBUG_DRAW, NULL },
{ "buffer", DEBUG_BUFFER, NULL },
{ "wf", DEBUG_WIREFRAME, NULL },
+ { "precompile", DEBUG_PRECOMPILE, NULL },
DEBUG_NAMED_VALUE_END
};