From: Felix Kuehling Date: Mon, 3 Jan 2005 22:15:41 +0000 (+0000) Subject: Added a boolean option for a floating-point depth buffer. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=87889aeab46ece5800cca9390fe95e83515b313d;p=mesa.git Added a boolean option for a floating-point depth buffer. --- 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 \