mesa: move legacy hyperz option from dri config
[mesa.git] / src / mesa / drivers / dri / radeon / radeon_screen.c
index 5637361a91655797dbb9c43e6ad14c317ff20947..4c93404607dd4730b3d77821dabd70a496d667aa 100644 (file)
@@ -75,6 +75,11 @@ DRI_CONF_OPT_BEGIN_V(texture_units,int,def, # min ":" # max ) \
         DRI_CONF_DESC(en,"Number of texture units used") \
 DRI_CONF_OPT_END
 
+#define DRI_CONF_HYPERZ(def) \
+DRI_CONF_OPT_BEGIN_B(hyperz, def) \
+        DRI_CONF_DESC(en,"Use HyperZ to boost performance") \
+DRI_CONF_OPT_END
+
 #if defined(RADEON_R100)       /* R100 */
 static const __DRIconfigOptionsExtension radeon_config_options = {
    .base = { __DRI_CONFIG_OPTIONS, 1 },