summaryrefslogtreecommitdiffstats
path: root/docs/envvars.html
diff options
context:
space:
mode:
authorRhys Kidd <[email protected]>2016-02-13 16:03:02 -0500
committerEric Anholt <[email protected]>2016-02-15 17:13:52 -0800
commit76e2af3dd4ca737a2bf10deca450ba4d528a2c92 (patch)
treea14250f11095b298f7552db73a7aef2d0c209720 /docs/envvars.html
parentaa82cc4b22452b87be066595f7f08fd28f7975f0 (diff)
docs: Document VC4_DEBUG envvar
Signed-off-by: Rhys Kidd <[email protected]> Signed-off-by: Eric Anholt <[email protected]>
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 8c4597c9c76..4eff7065df0 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.