radeonsi: remove AMD_DEBUG=sisched option
[mesa.git] / src / util / xmlpool / t_options.h
1 /*
2 * XML DRI client-side driver configuration
3 * Copyright (C) 2003 Felix Kuehling
4 *
5 * Permission is hereby granted, free of charge, to any person obtaining a
6 * copy of this software and associated documentation files (the "Software"),
7 * to deal in the Software without restriction, including without limitation
8 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9 * and/or sell copies of the Software, and to permit persons to whom the
10 * Software is furnished to do so, subject to the following conditions:
11 *
12 * The above copyright notice and this permission notice shall be included
13 * in all copies or substantial portions of the Software.
14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
16 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18 * FELIX KUEHLING, OR ANY OTHER CONTRIBUTORS BE LIABLE FOR ANY CLAIM,
19 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
20 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
21 * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22 *
23 */
24 /**
25 * \file t_options.h
26 * \brief Templates of common options
27 * \author Felix Kuehling
28 *
29 * This file defines macros for common options that can be used to
30 * construct driConfigOptions in the drivers. This file is only a
31 * template containing English descriptions for options wrapped in
32 * gettext(). xgettext can be used to extract translatable
33 * strings. These strings can then be translated by anyone familiar
34 * with GNU gettext. gen_xmlpool.py takes this template and fills in
35 * all the translations. The result (options.h) is included by
36 * xmlpool.h which in turn can be included by drivers.
37 *
38 * The macros used to describe options in this file are defined in
39 * src/util/xmlpool.h.
40 */
41
42 /* This is needed for xgettext to extract translatable strings.
43 * gen_xmlpool.py will discard this line. */
44 #include <libintl.h>
45
46 /*
47 * predefined option sections and options with multi-lingual descriptions
48 */
49
50
51 /**
52 * \brief Debugging options
53 */
54 #define DRI_CONF_SECTION_DEBUG \
55 DRI_CONF_SECTION_BEGIN \
56 DRI_CONF_DESC(en,gettext("Debugging"))
57
58 #define DRI_CONF_ALWAYS_FLUSH_BATCH(def) \
59 DRI_CONF_OPT_BEGIN_B(always_flush_batch, def) \
60 DRI_CONF_DESC(en,gettext("Enable flushing batchbuffer after each draw call")) \
61 DRI_CONF_OPT_END
62
63 #define DRI_CONF_ALWAYS_FLUSH_CACHE(def) \
64 DRI_CONF_OPT_BEGIN_B(always_flush_cache, def) \
65 DRI_CONF_DESC(en,gettext("Enable flushing GPU caches with each draw call")) \
66 DRI_CONF_OPT_END
67
68 #define DRI_CONF_DISABLE_THROTTLING(def) \
69 DRI_CONF_OPT_BEGIN_B(disable_throttling, def) \
70 DRI_CONF_DESC(en,gettext("Disable throttling on first batch after flush")) \
71 DRI_CONF_OPT_END
72
73 #define DRI_CONF_FORCE_GLSL_EXTENSIONS_WARN(def) \
74 DRI_CONF_OPT_BEGIN_B(force_glsl_extensions_warn, def) \
75 DRI_CONF_DESC(en,gettext("Force GLSL extension default behavior to 'warn'")) \
76 DRI_CONF_OPT_END
77
78 #define DRI_CONF_DISABLE_BLEND_FUNC_EXTENDED(def) \
79 DRI_CONF_OPT_BEGIN_B(disable_blend_func_extended, def) \
80 DRI_CONF_DESC(en,gettext("Disable dual source blending")) \
81 DRI_CONF_OPT_END
82
83 #define DRI_CONF_DISABLE_ARB_GPU_SHADER5(def) \
84 DRI_CONF_OPT_BEGIN_B(disable_arb_gpu_shader5, def) \
85 DRI_CONF_DESC(en,"Disable GL_ARB_gpu_shader5") \
86 DRI_CONF_OPT_END
87
88 #define DRI_CONF_DUAL_COLOR_BLEND_BY_LOCATION(def) \
89 DRI_CONF_OPT_BEGIN_B(dual_color_blend_by_location, def) \
90 DRI_CONF_DESC(en,gettext("Identify dual color blending sources by location rather than index")) \
91 DRI_CONF_OPT_END
92
93 #define DRI_CONF_DISABLE_GLSL_LINE_CONTINUATIONS(def) \
94 DRI_CONF_OPT_BEGIN_B(disable_glsl_line_continuations, def) \
95 DRI_CONF_DESC(en,gettext("Disable backslash-based line continuations in GLSL source")) \
96 DRI_CONF_OPT_END
97
98 #define DRI_CONF_FORCE_GLSL_VERSION(def) \
99 DRI_CONF_OPT_BEGIN_V(force_glsl_version, int, def, "0:999") \
100 DRI_CONF_DESC(en,gettext("Force a default GLSL version for shaders that lack an explicit #version line")) \
101 DRI_CONF_OPT_END
102
103 #define DRI_CONF_ALLOW_GLSL_EXTENSION_DIRECTIVE_MIDSHADER(def) \
104 DRI_CONF_OPT_BEGIN_B(allow_glsl_extension_directive_midshader, def) \
105 DRI_CONF_DESC(en,gettext("Allow GLSL #extension directives in the middle of shaders")) \
106 DRI_CONF_OPT_END
107
108 #define DRI_CONF_ALLOW_GLSL_BUILTIN_CONST_EXPRESSION(def) \
109 DRI_CONF_OPT_BEGIN_B(allow_glsl_builtin_const_expression, def) \
110 DRI_CONF_DESC(en,gettext("Allow builtins as part of constant expressions")) \
111 DRI_CONF_OPT_END
112
113 #define DRI_CONF_ALLOW_GLSL_RELAXED_ES(def) \
114 DRI_CONF_OPT_BEGIN_B(allow_glsl_relaxed_es, def) \
115 DRI_CONF_DESC(en,gettext("Allow some relaxation of GLSL ES shader restrictions")) \
116 DRI_CONF_OPT_END
117
118 #define DRI_CONF_ALLOW_GLSL_BUILTIN_VARIABLE_REDECLARATION(def) \
119 DRI_CONF_OPT_BEGIN_B(allow_glsl_builtin_variable_redeclaration, def) \
120 DRI_CONF_DESC(en,gettext("Allow GLSL built-in variables to be redeclared verbatim")) \
121 DRI_CONF_OPT_END
122
123 #define DRI_CONF_ALLOW_HIGHER_COMPAT_VERSION(def) \
124 DRI_CONF_OPT_BEGIN_B(allow_higher_compat_version, def) \
125 DRI_CONF_DESC(en,gettext("Allow a higher compat profile (version 3.1+) for apps that request it")) \
126 DRI_CONF_OPT_END
127
128 #define DRI_CONF_FORCE_GLSL_ABS_SQRT(def) \
129 DRI_CONF_OPT_BEGIN_B(force_glsl_abs_sqrt, def) \
130 DRI_CONF_DESC(en,gettext("Force computing the absolute value for sqrt() and inversesqrt()")) \
131 DRI_CONF_OPT_END
132
133 #define DRI_CONF_GLSL_CORRECT_DERIVATIVES_AFTER_DISCARD(def) \
134 DRI_CONF_OPT_BEGIN_B(glsl_correct_derivatives_after_discard, def) \
135 DRI_CONF_DESC(en,gettext("Implicit and explicit derivatives after a discard behave as if the discard didn't happen")) \
136 DRI_CONF_OPT_END
137
138 #define DRI_CONF_ALLOW_GLSL_CROSS_STAGE_INTERPOLATION_MISMATCH(def) \
139 DRI_CONF_OPT_BEGIN_B(allow_glsl_cross_stage_interpolation_mismatch, def) \
140 DRI_CONF_DESC(en,gettext("Allow interpolation qualifier mismatch across shader stages")) \
141 DRI_CONF_OPT_END
142
143 #define DRI_CONF_ALLOW_GLSL_LAYOUT_QUALIFIER_ON_FUNCTION_PARAMETERS(def) \
144 DRI_CONF_OPT_BEGIN_B(allow_glsl_layout_qualifier_on_function_parameters, def) \
145 DRI_CONF_DESC(en,gettext("Allow layout qualifiers on function parameters.")) \
146 DRI_CONF_OPT_END
147
148 #define DRI_CONF_FORCE_GL_VENDOR(def) \
149 DRI_CONF_OPT_BEGIN(force_gl_vendor, string, def) \
150 DRI_CONF_DESC(en,gettext("Allow GPU vendor to be overridden.")) \
151 DRI_CONF_OPT_END
152
153 #define DRI_CONF_FORCE_COMPAT_PROFILE(def) \
154 DRI_CONF_OPT_BEGIN_B(force_compat_profile, def) \
155 DRI_CONF_DESC(en,gettext("Force an OpenGL compatibility context")) \
156 DRI_CONF_OPT_END
157
158 /**
159 * \brief Image quality-related options
160 */
161 #define DRI_CONF_SECTION_QUALITY \
162 DRI_CONF_SECTION_BEGIN \
163 DRI_CONF_DESC(en,gettext("Image Quality"))
164
165 #define DRI_CONF_PRECISE_TRIG(def) \
166 DRI_CONF_OPT_BEGIN_B(precise_trig, def) \
167 DRI_CONF_DESC(en,gettext("Prefer accuracy over performance in trig functions")) \
168 DRI_CONF_OPT_END
169
170 #define DRI_CONF_PP_CELSHADE(def) \
171 DRI_CONF_OPT_BEGIN_V(pp_celshade,enum,def,"0:1") \
172 DRI_CONF_DESC(en,gettext("A post-processing filter to cel-shade the output")) \
173 DRI_CONF_OPT_END
174
175 #define DRI_CONF_PP_NORED(def) \
176 DRI_CONF_OPT_BEGIN_V(pp_nored,enum,def,"0:1") \
177 DRI_CONF_DESC(en,gettext("A post-processing filter to remove the red channel")) \
178 DRI_CONF_OPT_END
179
180 #define DRI_CONF_PP_NOGREEN(def) \
181 DRI_CONF_OPT_BEGIN_V(pp_nogreen,enum,def,"0:1") \
182 DRI_CONF_DESC(en,gettext("A post-processing filter to remove the green channel")) \
183 DRI_CONF_OPT_END
184
185 #define DRI_CONF_PP_NOBLUE(def) \
186 DRI_CONF_OPT_BEGIN_V(pp_noblue,enum,def,"0:1") \
187 DRI_CONF_DESC(en,gettext("A post-processing filter to remove the blue channel")) \
188 DRI_CONF_OPT_END
189
190 #define DRI_CONF_PP_JIMENEZMLAA(def,min,max) \
191 DRI_CONF_OPT_BEGIN_V(pp_jimenezmlaa,int,def, # min ":" # max ) \
192 DRI_CONF_DESC(en,gettext("Morphological anti-aliasing based on Jimenez\\\' MLAA. 0 to disable, 8 for default quality")) \
193 DRI_CONF_OPT_END
194
195 #define DRI_CONF_PP_JIMENEZMLAA_COLOR(def,min,max) \
196 DRI_CONF_OPT_BEGIN_V(pp_jimenezmlaa_color,int,def, # min ":" # max ) \
197 DRI_CONF_DESC(en,gettext("Morphological anti-aliasing based on Jimenez\\\' MLAA. 0 to disable, 8 for default quality. Color version, usable with 2d GL apps")) \
198 DRI_CONF_OPT_END
199
200
201
202 /**
203 * \brief Performance-related options
204 */
205 #define DRI_CONF_SECTION_PERFORMANCE \
206 DRI_CONF_SECTION_BEGIN \
207 DRI_CONF_DESC(en,gettext("Performance"))
208
209 #define DRI_CONF_VBLANK_NEVER 0
210 #define DRI_CONF_VBLANK_DEF_INTERVAL_0 1
211 #define DRI_CONF_VBLANK_DEF_INTERVAL_1 2
212 #define DRI_CONF_VBLANK_ALWAYS_SYNC 3
213 #define DRI_CONF_VBLANK_MODE(def) \
214 DRI_CONF_OPT_BEGIN_V(vblank_mode,enum,def,"0:3") \
215 DRI_CONF_DESC_BEGIN(en,gettext("Synchronization with vertical refresh (swap intervals)")) \
216 DRI_CONF_ENUM(0,gettext("Never synchronize with vertical refresh, ignore application's choice")) \
217 DRI_CONF_ENUM(1,gettext("Initial swap interval 0, obey application's choice")) \
218 DRI_CONF_ENUM(2,gettext("Initial swap interval 1, obey application's choice")) \
219 DRI_CONF_ENUM(3,gettext("Always synchronize with vertical refresh, application chooses the minimum swap interval")) \
220 DRI_CONF_DESC_END \
221 DRI_CONF_OPT_END
222
223 #define DRI_CONF_ADAPTIVE_SYNC(def) \
224 DRI_CONF_OPT_BEGIN_B(adaptive_sync,def) \
225 DRI_CONF_DESC(en,gettext("Adapt the monitor sync to the application performance (when possible)")) \
226 DRI_CONF_OPT_END
227
228 #define DRI_CONF_VK_WSI_FORCE_BGRA8_UNORM_FIRST(def) \
229 DRI_CONF_OPT_BEGIN_B(vk_wsi_force_bgra8_unorm_first, def) \
230 DRI_CONF_DESC(en,gettext("Force vkGetPhysicalDeviceSurfaceFormatsKHR to return VK_FORMAT_B8G8R8A8_UNORM as the first format")) \
231 DRI_CONF_OPT_END
232
233 #define DRI_CONF_VK_X11_OVERRIDE_MIN_IMAGE_COUNT(def) \
234 DRI_CONF_OPT_BEGIN_V(vk_x11_override_min_image_count, int, def, "0:999") \
235 DRI_CONF_DESC(en,gettext("Override the VkSurfaceCapabilitiesKHR::minImageCount (0 = no override)")) \
236 DRI_CONF_OPT_END
237
238 #define DRI_CONF_VK_X11_STRICT_IMAGE_COUNT(def) \
239 DRI_CONF_OPT_BEGIN_B(vk_x11_strict_image_count, def) \
240 DRI_CONF_DESC(en,gettext("Force the X11 WSI to create exactly the number of image specified by the application in VkSwapchainCreateInfoKHR::minImageCount")) \
241 DRI_CONF_OPT_END
242
243 #define DRI_CONF_MESA_GLTHREAD(def) \
244 DRI_CONF_OPT_BEGIN_B(mesa_glthread, def) \
245 DRI_CONF_DESC(en,gettext("Enable offloading GL driver work to a separate thread")) \
246 DRI_CONF_OPT_END
247
248 #define DRI_CONF_MESA_NO_ERROR(def) \
249 DRI_CONF_OPT_BEGIN_B(mesa_no_error, def) \
250 DRI_CONF_DESC(en,gettext("Disable GL driver error checking")) \
251 DRI_CONF_OPT_END
252
253 #define DRI_CONF_DISABLE_EXT_BUFFER_AGE(def) \
254 DRI_CONF_OPT_BEGIN_B(glx_disable_ext_buffer_age, def) \
255 DRI_CONF_DESC(en, gettext("Disable the GLX_EXT_buffer_age extension")) \
256 DRI_CONF_OPT_END
257
258 #define DRI_CONF_DISABLE_OML_SYNC_CONTROL(def) \
259 DRI_CONF_OPT_BEGIN_B(glx_disable_oml_sync_control, def) \
260 DRI_CONF_DESC(en, gettext("Disable the GLX_OML_sync_control extension")) \
261 DRI_CONF_OPT_END
262
263 #define DRI_CONF_DISABLE_SGI_VIDEO_SYNC(def) \
264 DRI_CONF_OPT_BEGIN_B(glx_disable_sgi_video_sync, def) \
265 DRI_CONF_DESC(en, gettext("Disable the GLX_SGI_video_sync extension")) \
266 DRI_CONF_OPT_END
267
268
269
270 /**
271 * \brief Miscellaneous configuration options
272 */
273 #define DRI_CONF_SECTION_MISCELLANEOUS \
274 DRI_CONF_SECTION_BEGIN \
275 DRI_CONF_DESC(en,gettext("Miscellaneous"))
276
277 #define DRI_CONF_ALWAYS_HAVE_DEPTH_BUFFER(def) \
278 DRI_CONF_OPT_BEGIN_B(always_have_depth_buffer, def) \
279 DRI_CONF_DESC(en,gettext("Create all visuals with a depth buffer")) \
280 DRI_CONF_OPT_END
281
282 #define DRI_CONF_GLSL_ZERO_INIT(def) \
283 DRI_CONF_OPT_BEGIN_B(glsl_zero_init, def) \
284 DRI_CONF_DESC(en,gettext("Force uninitialized variables to default to zero")) \
285 DRI_CONF_OPT_END
286
287 #define DRI_CONF_VS_POSITION_ALWAYS_INVARIANT(def) \
288 DRI_CONF_OPT_BEGIN_B(vs_position_always_invariant, def) \
289 DRI_CONF_DESC(en,gettext("Force the vertex shader's gl_Position output to be considered 'invariant'")) \
290 DRI_CONF_OPT_END
291
292 #define DRI_CONF_ALLOW_RGB10_CONFIGS(def) \
293 DRI_CONF_OPT_BEGIN_B(allow_rgb10_configs, def) \
294 DRI_CONF_DESC(en,gettext("Allow exposure of visuals and fbconfigs with rgb10a2 formats")) \
295 DRI_CONF_OPT_END
296
297 #define DRI_CONF_ALLOW_RGB565_CONFIGS(def) \
298 DRI_CONF_OPT_BEGIN_B(allow_rgb565_configs, def) \
299 DRI_CONF_DESC(en,gettext("Allow exposure of visuals and fbconfigs with rgb565 formats")) \
300 DRI_CONF_OPT_END
301
302 #define DRI_CONF_ALLOW_FP16_CONFIGS(def) \
303 DRI_CONF_OPT_BEGIN_B(allow_fp16_configs, def) \
304 DRI_CONF_DESC(en,gettext("Allow exposure of visuals and fbconfigs with fp16 formats")) \
305 DRI_CONF_OPT_END
306
307 /**
308 * \brief Initialization configuration options
309 */
310 #define DRI_CONF_SECTION_INITIALIZATION \
311 DRI_CONF_SECTION_BEGIN \
312 DRI_CONF_DESC(en,gettext("Initialization"))
313
314 #define DRI_CONF_DEVICE_ID_PATH_TAG(def) \
315 DRI_CONF_OPT_BEGIN(device_id, string, def) \
316 DRI_CONF_DESC(en,gettext("Define the graphic device to use if possible")) \
317 DRI_CONF_OPT_END
318
319 #define DRI_CONF_DRI_DRIVER(def) \
320 DRI_CONF_OPT_BEGIN(dri_driver, string, def) \
321 DRI_CONF_DESC(en,gettext("Override the DRI driver to load")) \
322 DRI_CONF_OPT_END
323
324 /**
325 * \brief Gallium-Nine specific configuration options
326 */
327
328 #define DRI_CONF_SECTION_NINE \
329 DRI_CONF_SECTION_BEGIN \
330 DRI_CONF_DESC(en,gettext("Gallium Nine"))
331
332 #define DRI_CONF_NINE_THROTTLE(def) \
333 DRI_CONF_OPT_BEGIN(throttle_value, int, def) \
334 DRI_CONF_DESC(en,gettext("Define the throttling value. -1 for no throttling, -2 for default (usually 2), 0 for glfinish behaviour")) \
335 DRI_CONF_OPT_END
336
337 #define DRI_CONF_NINE_THREADSUBMIT(def) \
338 DRI_CONF_OPT_BEGIN_B(thread_submit, def) \
339 DRI_CONF_DESC(en,gettext("Use an additional thread to submit buffers.")) \
340 DRI_CONF_OPT_END
341
342 #define DRI_CONF_NINE_OVERRIDEVENDOR(def) \
343 DRI_CONF_OPT_BEGIN(override_vendorid, int, def) \
344 DRI_CONF_DESC(en,gettext("Define the vendor_id to report. This allows faking another hardware vendor.")) \
345 DRI_CONF_OPT_END
346
347 #define DRI_CONF_NINE_ALLOWDISCARDDELAYEDRELEASE(def) \
348 DRI_CONF_OPT_BEGIN_B(discard_delayed_release, def) \
349 DRI_CONF_DESC(en,gettext("Whether to allow the display server to release buffers with a delay when using d3d's presentation mode DISCARD. Default to true. Set to false if suffering from lag (thread_submit=true can also help in this situation).")) \
350 DRI_CONF_OPT_END
351
352 #define DRI_CONF_NINE_TEARFREEDISCARD(def) \
353 DRI_CONF_OPT_BEGIN_B(tearfree_discard, def) \
354 DRI_CONF_DESC(en,gettext("Whether to make d3d's presentation mode DISCARD (games usually use that mode) Tear Free. If rendering above screen refresh, some frames will get skipped. false by default.")) \
355 DRI_CONF_OPT_END
356
357 #define DRI_CONF_NINE_CSMT(def) \
358 DRI_CONF_OPT_BEGIN(csmt_force, int, def) \
359 DRI_CONF_DESC(en,gettext("If set to 1, force gallium nine CSMT. If set to 0, disable it. By default (-1) CSMT is enabled on known thread-safe drivers.")) \
360 DRI_CONF_OPT_END
361
362 #define DRI_CONF_NINE_DYNAMICTEXTUREWORKAROUND(def) \
363 DRI_CONF_OPT_BEGIN_B(dynamic_texture_workaround, def) \
364 DRI_CONF_DESC(en,gettext("If set to true, use a ram intermediate buffer for dynamic textures. Increases ram usage, which can cause out of memory issues, but can fix glitches for some games.")) \
365 DRI_CONF_OPT_END
366
367 #define DRI_CONF_NINE_SHADERINLINECONSTANTS(def) \
368 DRI_CONF_OPT_BEGIN_B(shader_inline_constants, def) \
369 DRI_CONF_DESC(en,gettext("If set to true, recompile shaders with integer or boolean constants when the values are known. Can cause stutter, but can increase slightly performance.")) \
370 DRI_CONF_OPT_END
371
372 /**
373 * \brief radeonsi specific configuration options
374 */
375
376 #define DRI_CONF_RADEONSI_ASSUME_NO_Z_FIGHTS(def) \
377 DRI_CONF_OPT_BEGIN_B(radeonsi_assume_no_z_fights, def) \
378 DRI_CONF_DESC(en,gettext("Assume no Z fights (enables aggressive out-of-order rasterization to improve performance; may cause rendering errors)")) \
379 DRI_CONF_OPT_END
380
381 #define DRI_CONF_RADEONSI_COMMUTATIVE_BLEND_ADD(def) \
382 DRI_CONF_OPT_BEGIN_B(radeonsi_commutative_blend_add, def) \
383 DRI_CONF_DESC(en,gettext("Commutative additive blending optimizations (may cause rendering errors)")) \
384 DRI_CONF_OPT_END
385
386 #define DRI_CONF_RADEONSI_ZERO_ALL_VRAM_ALLOCS(def) \
387 DRI_CONF_OPT_BEGIN_B(radeonsi_zerovram, def) \
388 DRI_CONF_DESC(en,"Zero all vram allocations") \
389 DRI_CONF_OPT_END
390
391 #define DRI_CONF_V3D_NONMSAA_TEXTURE_SIZE_LIMIT(def) \
392 DRI_CONF_OPT_BEGIN_B(v3d_nonmsaa_texture_size_limit, def) \
393 DRI_CONF_DESC(en,"Report the non-MSAA-only texture size limit") \
394 DRI_CONF_OPT_END
395
396 /**
397 * \brief virgl specific configuration options
398 */
399
400 #define DRI_CONF_GLES_EMULATE_BGRA(def) \
401 DRI_CONF_OPT_BEGIN_B(gles_emulate_bgra, def) \
402 DRI_CONF_DESC(en,gettext("On GLES emulate BGRA formats by using a swizzled RGBA format")) \
403 DRI_CONF_OPT_END
404
405 #define DRI_CONF_GLES_APPLY_BGRA_DEST_SWIZZLE(def) \
406 DRI_CONF_OPT_BEGIN_B(gles_apply_bgra_dest_swizzle, def) \
407 DRI_CONF_DESC(en,gettext("When the BGRA formats are emulated by using swizzled RGBA formats on GLES apply the swizzle when writing")) \
408 DRI_CONF_OPT_END
409
410 #define DRI_CONF_GLES_SAMPLES_PASSED_VALUE(def, minimum, maximum) \
411 DRI_CONF_OPT_BEGIN_V(gles_samples_passed_value, def, minimum, maximum) \
412 DRI_CONF_DESC(en,gettext("GL_SAMPLES_PASSED value when emulated by GL_ANY_SAMPLES_PASSED")) \
413 DRI_CONF_OPT_END