summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFelix Kuehling <[email protected]>2005-01-03 22:15:41 +0000
committerFelix Kuehling <[email protected]>2005-01-03 22:15:41 +0000
commit87889aeab46ece5800cca9390fe95e83515b313d (patch)
tree197124c60257455f9af4b1aa6f2481fa1c420a96 /src
parent3276c192b7bfe4fd21967224b3d13e1c1681758e (diff)
Added a boolean option for a floating-point depth buffer.
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/common/xmlpool.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/xmlpool.h b/src/mesa/drivers/dri/common/xmlpool.h
index 311fcd0a414..789d14fe2a1 100644
--- a/src/mesa/drivers/dri/common/xmlpool.h
+++ b/src/mesa/drivers/dri/common/xmlpool.h
@@ -210,6 +210,12 @@ DRI_CONF_OPT_BEGIN_V(dither_mode,enum,def,"0:2") \
DRI_CONF_DESC_END \
DRI_CONF_OPT_END
+#define DRI_CONF_FLOAT_DEPTH(def) \
+DRI_CONF_OPT_BEGIN(float_depth,bool,def) \
+ DRI_CONF_DESC(en,"Floating point depth buffer") \
+ DRI_CONF_DESC(de,"Fließkomma z-Puffer") \
+DRI_CONF_OPT_END
+
/** \brief Performance-related options */
#define DRI_CONF_SECTION_PERFORMANCE \
DRI_CONF_SECTION_BEGIN \