X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=docs%2Fenvvars.html;h=253aaf26dcd9cdbbff4657c1bbc504adbd0694ab;hb=05aec42d3d9b4aa357caf21c91a462e182a82b9f;hp=1b2c03ef3774f38ff2dc4701a5cb4283e3aec5d1;hpb=09d610796c03ae5a238b999ace5ccc2d3effd700;p=mesa.git
diff --git a/docs/envvars.html b/docs/envvars.html
index 1b2c03ef377..253aaf26dcd 100644
--- a/docs/envvars.html
+++ b/docs/envvars.html
@@ -91,11 +91,20 @@ This is only valid for versions >= 3.0.
Mesa may not really implement all the features of the given version.
(for developers only)
+MESA_GLES_VERSION_OVERRIDE - changes the value returned by
+glGetString(GL_VERSION) for OpenGL ES.
+
+- The format should be MAJOR.MINOR
+
- Examples: 2.0, 3.0, 3.1
+
- Mesa may not really implement all the features of the given version.
+(for developers only)
+
MESA_GLSL_VERSION_OVERRIDE - changes the value returned by
glGetString(GL_SHADING_LANGUAGE_VERSION). Valid values are integers, such as
"130". Mesa will not really implement all the features of the given language version
if it's higher than what's normally reported. (for developers only)
MESA_GLSL - shading language compiler options
+MESA_NO_MINMAX_CACHE - when set, the minmax index cache is globally disabled.
@@ -154,6 +163,9 @@ See the Xlib software driver page for details.
blorp - emit messages about the blorp operations (blits & clears)
nodualobj - suppress generation of dual-object geometry shader code
optimizer - dump shader assembly to files at each optimization pass and iteration that make progress
+ vec4 - force vec4 mode in vertex shader
+ spill_fs - force spilling of all registers in the scalar backend (useful to debug spilling code)
+ spill_vec4 - force spilling of all registers in the vec4 backend (useful to debug spilling code)
@@ -223,7 +235,7 @@ See src/mesa/state_tracker/st_debug.c for other options.
LP_PERF - a comma-separated list of options to selectively no-op various
parts of the driver. See the source code for details.
LP_NUM_THREADS - an integer indicating how many threads to use for rendering.
- Zero turns of threading completely. The default value is the number of CPU
+ Zero turns off threading completely. The default value is the number of CPU
cores present.
@@ -238,6 +250,31 @@ for details.
+VA-API state tracker environment variables
+
+- VAAPI_MPEG4_ENABLED - enable MPEG4 for VA-API, disabled by default.
+
+
+
+VC4 driver environment variables
+
+- VC4_DEBUG - a comma-separated list of named flags, which do various things:
+
+ - cl - dump command list during creation
+ - qpu - dump generated QPU instructions
+ - qir - dump QPU IR during program compile
+ - nir - dump NIR during program compile
+ - tgsi - dump TGSI during program compile
+ - shaderdb - dump program compile information for shader-db analysis
+ - perf - print during performance-related events
+ - norast - skip actual hardware execution of commands
+ - always_flush - flush after each draw call
+ - always_sync - wait for finish after each flush
+ - dump - write a GPU command stream trace file (VC4 simulator only)
+
+
+
+
Other Gallium drivers have their own environment variables. These may change
frequently so the source code should be consulted for details.