diff options
author | Timothy Arceri <[email protected]> | 2018-08-30 10:19:08 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2018-09-18 19:43:05 +1000 |
commit | 02843ed76868c7e6268a028bb18ea5e48b72e291 (patch) | |
tree | b06e3982df2a5cc6beb2e61b0586003124223bc3 /src/mesa | |
parent | f958ea6eff928cf1faacfd11e966b9389746deb5 (diff) |
mesa: move legacy dri config option texture_depth
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_screen.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.h b/src/mesa/drivers/dri/radeon/radeon_screen.h index 30202aec8b0..af1b9454e10 100644 --- a/src/mesa/drivers/dri/radeon/radeon_screen.h +++ b/src/mesa/drivers/dri/radeon/radeon_screen.h @@ -91,6 +91,19 @@ DRI_CONF_OPT_BEGIN_V(fthrottle_mode,enum,def,"0:2") \ DRI_CONF_DESC_END \ DRI_CONF_OPT_END +#define DRI_CONF_TEXTURE_DEPTH_FB 0 +#define DRI_CONF_TEXTURE_DEPTH_32 1 +#define DRI_CONF_TEXTURE_DEPTH_16 2 +#define DRI_CONF_TEXTURE_DEPTH_FORCE_16 3 +#define DRI_CONF_TEXTURE_DEPTH(def) \ +DRI_CONF_OPT_BEGIN_V(texture_depth,enum,def,"0:3") \ + DRI_CONF_DESC_BEGIN(en,"Texture color depth") \ + DRI_CONF_ENUM(0,"Prefer frame buffer color depth") \ + DRI_CONF_ENUM(1,"Prefer 32 bits per texel") \ + DRI_CONF_ENUM(2,"Prefer 16 bits per texel") \ + DRI_CONF_ENUM(3,"Force 16 bits per texel") \ + DRI_CONF_DESC_END \ +DRI_CONF_OPT_END #define DRI_CONF_TCL_SW 0 #define DRI_CONF_TCL_PIPELINED 1 |