diff options
author | Timothy Arceri <[email protected]> | 2018-08-30 10:19:06 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-09-18 19:43:05 +1000 |
commit | 4b1a81ef9d41060615eae27d102a38f6a403e2f5 (patch) | |
tree | 1352d61bd4db609fc0b7219e553bbd4cf55d6ed2 /src/mesa/drivers/dri/radeon | |
parent | 6164d59bcc7de3b376554b2c6595e3c2d60d2f2a (diff) |
mesa: move legacy dri config option def_max_anisotropy
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/radeon')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_screen.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c index 6475e2f22c0..6345f2ce661 100644 --- a/src/mesa/drivers/dri/radeon/radeon_screen.c +++ b/src/mesa/drivers/dri/radeon/radeon_screen.c @@ -95,6 +95,11 @@ DRI_CONF_OPT_BEGIN_B(no_neg_lod_bias, def) \ DRI_CONF_DESC(en,"Forbid negative texture LOD bias") \ DRI_CONF_OPT_END +#define DRI_CONF_DEF_MAX_ANISOTROPY(def,range) \ +DRI_CONF_OPT_BEGIN_V(def_max_anisotropy,float,def,range) \ + DRI_CONF_DESC(en,"Initial maximum value for anisotropic texture filtering") \ +DRI_CONF_OPT_END + #if defined(RADEON_R100) /* R100 */ static const __DRIconfigOptionsExtension radeon_config_options = { .base = { __DRI_CONFIG_OPTIONS, 1 }, |