aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_debug.c
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2016-06-08 13:24:14 +0200
committerNicolai Hähnle <[email protected]>2016-06-21 11:02:41 +0200
commit3735a925ef5692c836c4d26d6adee370dae1c2b0 (patch)
treeaa3f6c16245f34bab987305a454896ac566bf07c /src/mesa/state_tracker/st_debug.c
parenta571859fc446a9ba106ba4586603b5a01e7cc52a (diff)
st/mesa: cache staging texture for glReadPixels
v2: add ST_DEBUG flag for disabling (suggested by Ilia) Reviewed-by: Marek Olšák <[email protected]> (v1)
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 9eb3b53b230..eaf25490bd6 100644
--- a/src/mesa/state_tracker/st_debug.c
+++ b/src/mesa/state_tracker/st_debug.c
@@ -58,6 +58,7 @@ static const struct debug_named_value st_debug_flags[] = {
{ "wf", DEBUG_WIREFRAME, NULL },
{ "precompile", DEBUG_PRECOMPILE, NULL },
{ "gremedy", DEBUG_GREMEDY, "Enable GREMEDY debug extensions" },
+ { "noreadpixcache", DEBUG_NOREADPIXCACHE, NULL },
DEBUG_NAMED_VALUE_END
};