From: Timothy Arceri Date: Thu, 30 Aug 2018 00:19:05 +0000 (+1000) Subject: mesa: move legacy dri config option no_neg_lod_bias X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6164d59bcc7de3b376554b2c6595e3c2d60d2f2a;p=mesa.git mesa: move legacy dri config option no_neg_lod_bias Reviewed-by: Marek Olšák --- diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c index fe484abf73f..6475e2f22c0 100644 --- a/src/mesa/drivers/dri/radeon/radeon_screen.c +++ b/src/mesa/drivers/dri/radeon/radeon_screen.c @@ -90,6 +90,11 @@ DRI_CONF_OPT_BEGIN_V(tcl_mode,enum,def,"0:3") \ DRI_CONF_DESC_END \ DRI_CONF_OPT_END +#define DRI_CONF_NO_NEG_LOD_BIAS(def) \ +DRI_CONF_OPT_BEGIN_B(no_neg_lod_bias, def) \ + DRI_CONF_DESC(en,"Forbid negative texture LOD bias") \ +DRI_CONF_OPT_END + #if defined(RADEON_R100) /* R100 */ static const __DRIconfigOptionsExtension radeon_config_options = { .base = { __DRI_CONFIG_OPTIONS, 1 }, diff --git a/src/util/xmlpool/ca.po b/src/util/xmlpool/ca.po index 1710a2ce199..7760da13ac2 100644 --- a/src/util/xmlpool/ca.po +++ b/src/util/xmlpool/ca.po @@ -106,12 +106,6 @@ msgstr "Força 16 bits per texel" msgid "Initial maximum value for anisotropic texture filtering" msgstr "Valor màxim inicial per a la filtració de textura anisòtropa" -#: t_options.h:148 -msgid "Forbid negative texture LOD bias" -msgstr "" -"Prohibeix una parcialitat negativa del Nivell de Detalle (LOD) de les " -"textures" - #: t_options.h:195 msgid "A post-processing filter to cel-shade the output" msgstr "Un filtre de postprocessament per a aplicar cel shading a la sortida" diff --git a/src/util/xmlpool/de.po b/src/util/xmlpool/de.po index 5581725a251..9e466f7620a 100644 --- a/src/util/xmlpool/de.po +++ b/src/util/xmlpool/de.po @@ -83,10 +83,6 @@ msgstr "Erzwinge 16 bits pro Texel" msgid "Initial maximum value for anisotropic texture filtering" msgstr "Initialer Maximalwert für anisotropische Texturfilterung" -#: t_options.h:148 -msgid "Forbid negative texture LOD bias" -msgstr "Verbiete negative Textur-Detailgradverschiebung" - #: t_options.h:195 msgid "A post-processing filter to cel-shade the output" msgstr "Nachbearbeitungsfilter für Cell Shading" diff --git a/src/util/xmlpool/es.po b/src/util/xmlpool/es.po index 85288bfbe8a..cd76fa39b4a 100644 --- a/src/util/xmlpool/es.po +++ b/src/util/xmlpool/es.po @@ -90,10 +90,6 @@ msgstr "Forzar a 16 bits por texel" msgid "Initial maximum value for anisotropic texture filtering" msgstr "Valor máximo inicial para filtrado anisotrópico de textura" -#: t_options.h:148 -msgid "Forbid negative texture LOD bias" -msgstr "Prohibir valores negativos de Nivel De Detalle (LOD) de texturas" - #: t_options.h:195 msgid "A post-processing filter to cel-shade the output" msgstr "Un filtro de postprocesamiento para aplicar cel shading a la salida" diff --git a/src/util/xmlpool/fr.po b/src/util/xmlpool/fr.po index 1f2d04cd396..d086b44a4b0 100644 --- a/src/util/xmlpool/fr.po +++ b/src/util/xmlpool/fr.po @@ -82,10 +82,6 @@ msgstr "Forcer 16 bits par texel" msgid "Initial maximum value for anisotropic texture filtering" msgstr "Valeur maximale initiale pour le filtrage anisotropique de texture" -#: t_options.h:148 -msgid "Forbid negative texture LOD bias" -msgstr "Interdire le LOD bias negatif" - #: t_options.h:195 msgid "A post-processing filter to cel-shade the output" msgstr "" diff --git a/src/util/xmlpool/nl.po b/src/util/xmlpool/nl.po index 21845ce879c..38473fdc2de 100644 --- a/src/util/xmlpool/nl.po +++ b/src/util/xmlpool/nl.po @@ -82,10 +82,6 @@ msgstr "Dwing 16 bits per texel af" msgid "Initial maximum value for anisotropic texture filtering" msgstr "Initïele maximum waarde voor anisotrophische textuur filtering" -#: t_options.h:148 -msgid "Forbid negative texture LOD bias" -msgstr "Verbied negatief niveau detailonderscheid (LOD) van texturen" - #: t_options.h:182 msgid "Horizontal error diffusion" msgstr "Horizontale foutdiffusie" diff --git a/src/util/xmlpool/sv.po b/src/util/xmlpool/sv.po index 61d735b86c1..8c3bca72e68 100644 --- a/src/util/xmlpool/sv.po +++ b/src/util/xmlpool/sv.po @@ -82,10 +82,6 @@ msgstr "Tvinga 16 bitar per texel" msgid "Initial maximum value for anisotropic texture filtering" msgstr "Initialt maximalt värde för anisotropisk texturfiltrering" -#: t_options.h:148 -msgid "Forbid negative texture LOD bias" -msgstr "Förbjud negativ LOD-kompensation för texturer" - #: t_options.h:181 msgid "Color dithering method" msgstr "Färgutjämningsmetod" diff --git a/src/util/xmlpool/t_options.h b/src/util/xmlpool/t_options.h index 1eb704e0ea1..f0321c75d24 100644 --- a/src/util/xmlpool/t_options.h +++ b/src/util/xmlpool/t_options.h @@ -171,11 +171,6 @@ DRI_CONF_OPT_BEGIN_V(def_max_anisotropy,float,def,range) \ DRI_CONF_DESC(en,gettext("Initial maximum value for anisotropic texture filtering")) \ DRI_CONF_OPT_END -#define DRI_CONF_NO_NEG_LOD_BIAS(def) \ -DRI_CONF_OPT_BEGIN_B(no_neg_lod_bias, def) \ - DRI_CONF_DESC(en,gettext("Forbid negative texture LOD bias")) \ -DRI_CONF_OPT_END - #define DRI_CONF_PRECISE_TRIG(def) \ DRI_CONF_OPT_BEGIN_B(precise_trig, def) \ DRI_CONF_DESC(en,gettext("Prefer accuracy over performance in trig functions")) \