Added a boolean option for a floating-point depth buffer.
authorFelix Kuehling <fxkuehl@gmx.de>
Mon, 3 Jan 2005 22:15:41 +0000 (22:15 +0000)
committerFelix Kuehling <fxkuehl@gmx.de>
Mon, 3 Jan 2005 22:15:41 +0000 (22:15 +0000)
src/mesa/drivers/dri/common/xmlpool.h

index 311fcd0a41449f8335980c1cdcb9f9c5fa330fdb..789d14fe2a113a7c1e4a6ef855057b522938c4e7 100644 (file)
@@ -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 \