summaryrefslogtreecommitdiffstats
path: root/docs/envvars.html
diff options
context:
space:
mode:
authorRhys Kidd <rhyskidd@gmail.com>2016-02-13 16:03:02 -0500
committerEric Anholt <eric@anholt.net>2016-02-15 17:13:52 -0800
commit76e2af3dd4ca737a2bf10deca450ba4d528a2c92 (patch)
treea14250f11095b298f7552db73a7aef2d0c209720 /docs/envvars.html
parentaa82cc4b22452b87be066595f7f08fd28f7975f0 (diff)
downloadexternal_mesa3d-76e2af3dd4ca737a2bf10deca450ba4d528a2c92.zip
external_mesa3d-76e2af3dd4ca737a2bf10deca450ba4d528a2c92.tar.gz
external_mesa3d-76e2af3dd4ca737a2bf10deca450ba4d528a2c92.tar.bz2
docs: Document VC4_DEBUG envvar
Signed-off-by: Rhys Kidd <rhyskidd@gmail.com> Signed-off-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'docs/envvars.html')
-rw-r--r--docs/envvars.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/envvars.html b/docs/envvars.html
index 8c4597c..4eff706 100644
--- a/docs/envvars.html
+++ b/docs/envvars.html
@@ -253,6 +253,25 @@ for details.
</ul>
+<h3>VC4 driver environment variables</h3>
+<ul>
+<li>VC4_DEBUG - a comma-separated list of named flags, which do various things:
+<ul>
+ <li>cl - dump command list during creation</li>
+ <li>qpu - dump generated QPU instructions</li>
+ <li>qir - dump QPU IR during program compile</li>
+ <li>nir - dump NIR during program compile</li>
+ <li>tgsi - dump TGSI during program compile</li>
+ <li>shaderdb - dump program compile information for shader-db analysis</li>
+ <li>perf - print during performance-related events</li>
+ <li>norast - skip actual hardware execution of commands</li>
+ <li>always_flush - flush after each draw call</li>
+ <li>always_sync - wait for finish after each flush</li>
+ <li>dump - write a GPU command stream trace file (VC4 simulator only)</li>
+</ul>
+</ul>
+
+
<p>
Other Gallium drivers have their own environment variables. These may change
frequently so the source code should be consulted for details.