diff options
author | Dave Airlie <airliedfreedesktop.org> | 2005-02-26 05:24:04 +0000 |
---|---|---|
committer | Dave Airlie <airliedfreedesktop.org> | 2005-02-26 05:24:04 +0000 |
commit | 4932ba28adc2694161ec3fa7964cd76e3742182a (patch) | |
tree | 4d70710c4952a66ed323a478cf38ba76397358ae /src/mesa/drivers/dri/common/xmlpool.h | |
parent | 8ca515097f4ea661fd7c2def5b608e2591cccf28 (diff) |
Add a dri config option to enable the max texture level hack
make ycbcr depend on a CHIPSET define .. needs to be filled in though
Diffstat (limited to 'src/mesa/drivers/dri/common/xmlpool.h')
-rw-r--r-- | src/mesa/drivers/dri/common/xmlpool.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/common/xmlpool.h b/src/mesa/drivers/dri/common/xmlpool.h index 29b5bf597d9..dfa5f49524b 100644 --- a/src/mesa/drivers/dri/common/xmlpool.h +++ b/src/mesa/drivers/dri/common/xmlpool.h @@ -293,6 +293,11 @@ DRI_CONF_OPT_BEGIN_V(texture_units,int,def, # min ":" # max ) \ DRI_CONF_DESC(de,"Anzahl der Textureinheiten") \ DRI_CONF_OPT_END +#define DRI_CONF_TEXTURE_LEVEL_HACK(def) \ +DRI_CONF_OPT_BEGIN(texture_level_hack,bool,def) \ + DRI_CONF_DESC(en,"Enable texture level hack for radeon/r200 for playing games with compressed textures") \ +DRI_CONF_OPT_END + #define DRI_CONF_TEXTURE_HEAPS_ALL 0 #define DRI_CONF_TEXTURE_HEAPS_CARD 1 #define DRI_CONF_TEXTURE_HEAPS_GART 2 @@ -331,4 +336,5 @@ DRI_CONF_OPT_BEGIN(nv_vertex_program,bool,def) \ DRI_CONF_DESC(fr,"Activer GL_NV_vertex_program") \ DRI_CONF_OPT_END + #endif |