mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 06:30:11 +01:00
driconf: Add option definitions to source file, not generated target
For the last two most-recently-added driconf options, their definition was manually added to options.h, a file which is intended to be automatically generated, (as part of support for translated driconf option descriptions). This means that these options would be eliminated if the generation step were performed again. Fix this by correctly adding the definitions of these options to t_options.h, (the file used as input to the generator), and not the options.h file, which is generated. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
4148a29ed8
commit
bc50f02bc7
1 changed files with 10 additions and 0 deletions
|
|
@ -272,3 +272,13 @@ DRI_CONF_OPT_END
|
|||
DRI_CONF_OPT_BEGIN(always_flush_cache,bool,def) \
|
||||
DRI_CONF_DESC(en,gettext("Enable flushing GPU caches with each draw call")) \
|
||||
DRI_CONF_OPT_END
|
||||
|
||||
#define DRI_CONF_FORCE_GLSL_EXTENSIONS_WARN(def) \
|
||||
DRI_CONF_OPT_BEGIN(force_glsl_extensions_warn,bool,def) \
|
||||
DRI_CONF_DESC(en,gettext("Force GLSL extension default behavior to 'warn'")) \
|
||||
DRI_CONF_OPT_END
|
||||
|
||||
#define DRI_CONF_DISABLE_BLEND_FUNC_EXTENDED(def) \
|
||||
DRI_CONF_OPT_BEGIN(disable_blend_func_extended,bool,def) \
|
||||
DRI_CONF_DESC(en,gettext("Disable dual source blending")) \
|
||||
DRI_CONF_OPT_END
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue