diff options
author | Marek Olšák <marek.olsak@amd.com> | 2021-02-24 13:11:07 -0500 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-03-17 23:33:09 +0000 |
commit | 0bbae3139ef4cdbfbcf5818ec7ee0f3804b02e90 (patch) | |
tree | 6394196b57b2dff0e28931014d54f1b652b8cd4c /src/util | |
parent | 8b6d22109f452b05ab1ce2028f7e18e50edcf325 (diff) | |
download | mesa-0bbae3139ef4cdbfbcf5818ec7ee0f3804b02e90.tar.gz mesa-0bbae3139ef4cdbfbcf5818ec7ee0f3804b02e90.tar.bz2 mesa-0bbae3139ef4cdbfbcf5818ec7ee0f3804b02e90.zip |
st/mesa: add a driconf option to transcode ETC2 to DXTC
for performance analysis
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9357>
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/driconf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/driconf.h b/src/util/driconf.h index 9c0c353b7b5..48be630d0e2 100644 --- a/src/util/driconf.h +++ b/src/util/driconf.h @@ -221,6 +221,9 @@ #define DRI_CONF_FORCE_GL_NAMES_REUSE(def) \ DRI_CONF_OPT_B(force_gl_names_reuse, def, "Force GL names reuse") +#define DRI_CONF_TRANSCODE_ETC(def) \ + DRI_CONF_OPT_B(transcode_etc, def, "Transcode ETC formats to DXTC if unsupported") + #define DRI_CONF_GLX_EXTENSION_OVERRIDE(def) \ DRI_CONF_OPT_S(glx_extension_override, def, \ "Allow enabling/disabling a list of GLX extensions") |