summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/common/xmlpool/t_options.h
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2009-03-05 17:08:36 -0800
committerEric Anholt <eric@anholt.net>2009-03-05 19:42:17 -0800
commitf3687284c12f34268172b9c60e2effd697162129 (patch)
treeb5bb7027a8fe30254c973152eaf3eb68fd9b59ed /src/mesa/drivers/dri/common/xmlpool/t_options.h
parent98826950529041a022f736d183b52421eedead31 (diff)
intel: Add always_flush_cache driconf option for debugging cache flush failure.
I keep wanting to hack this knob in as a one-time thing, so it seemed useful to have all the time.
Diffstat (limited to 'src/mesa/drivers/dri/common/xmlpool/t_options.h')
-rw-r--r--src/mesa/drivers/dri/common/xmlpool/t_options.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/xmlpool/t_options.h b/src/mesa/drivers/dri/common/xmlpool/t_options.h
index 4df1916aad..e489ae9e87 100644
--- a/src/mesa/drivers/dri/common/xmlpool/t_options.h
+++ b/src/mesa/drivers/dri/common/xmlpool/t_options.h
@@ -237,3 +237,8 @@ DRI_CONF_OPT_END
DRI_CONF_OPT_BEGIN(nv_vertex_program,bool,def) \
DRI_CONF_DESC(en,gettext("Enable extension GL_NV_vertex_program")) \
DRI_CONF_OPT_END
+
+#define DRI_CONF_ALWAYS_FLUSH_CACHE(def) \
+DRI_CONF_OPT_BEGIN(always_flush_cache,bool,def) \
+ DRI_CONF_DESC(en,gettext("Enable flushing GPU caches with each draw call")) \
+DRI_CONF_OPT_END