summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_debug.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2014-10-05 18:55:47 +0200
committerMarek Olšák <[email protected]>2014-10-21 22:01:16 +0200
commite8764a46731aaa20d6c7bc98d227e1a94fafbf5b (patch)
tree1fbac9fac49149395992f0127d09e5bee232e9bb /src/mesa/state_tracker/st_debug.c
parent5f5b83cbba95a7bb8955b09e24df1e9487c10734 (diff)
st/mesa: add ST_DEBUG=wf option which enables wireframe rendering
Useful for tessellation.
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 8c15e18d397..de3e3a9cdb2 100644
--- a/src/mesa/state_tracker/st_debug.c
+++ b/src/mesa/state_tracker/st_debug.c
@@ -55,6 +55,7 @@ static const struct debug_named_value st_debug_flags[] = {
{ "query", DEBUG_QUERY, NULL },
{ "draw", DEBUG_DRAW, NULL },
{ "buffer", DEBUG_BUFFER, NULL },
+ { "wf", DEBUG_WIREFRAME, NULL },
DEBUG_NAMED_VALUE_END
};