diff options
author | Timothy Arceri <[email protected]> | 2019-08-02 15:13:59 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2019-08-07 10:12:49 +1000 |
commit | dca119f12c291d7665d72464c92a8bf4328ef38e (patch) | |
tree | 4c2d81ab1b55694930ad0d427cb7d1c7e76e2b6e /src/util | |
parent | c95e2a1c6ba40f017ca451e862a794d45ddb62cf (diff) |
mesa/gallium: add dric option to allow overriding GL vendor string
Will be used in the following patch.
Reviewed-by: Marek Olšák <[email protected]>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=93551
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/xmlpool/t_options.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/util/xmlpool/t_options.h b/src/util/xmlpool/t_options.h index bfa9cc72bcb..86a72e9b39f 100644 --- a/src/util/xmlpool/t_options.h +++ b/src/util/xmlpool/t_options.h @@ -140,6 +140,11 @@ DRI_CONF_OPT_BEGIN_B(allow_glsl_layout_qualifier_on_function_parameters, def) \ DRI_CONF_DESC(en,gettext("Allow layout qualifiers on function parameters.")) \ DRI_CONF_OPT_END +#define DRI_CONF_FORCE_GL_VENDOR(def) \ +DRI_CONF_OPT_BEGIN(force_gl_vendor, string, def) \ + DRI_CONF_DESC(en,gettext("Allow GPU vendor to be overridden.")) \ +DRI_CONF_OPT_END + #define DRI_CONF_FORCE_COMPAT_PROFILE(def) \ DRI_CONF_OPT_BEGIN_B(force_compat_profile, def) \ DRI_CONF_DESC(en,gettext("Force an OpenGL compatibility context")) \ |