summaryrefslogtreecommitdiff
path: root/docs/envvars.html
diff options
context:
space:
mode:
authorRhys Perry <pendingchaos02@gmail.com>2020-05-05 17:31:26 +0100
committerMarge Bot <eric+marge@anholt.net>2020-05-07 11:32:06 +0000
commit5c6afd0f349b17aaa0b2e06ccee44fa709d6285c (patch)
tree968efaa17c2e9415a77b0b4874719d5da3bd32f7 /docs/envvars.html
parent1aaec1f3f451c60456aa4b28699fd57c7b22d021 (diff)
docs/envvars: document ACO_DEBUG
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4907>
Diffstat (limited to 'docs/envvars.html')
-rw-r--r--docs/envvars.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/envvars.html b/docs/envvars.html
index 4a90185e297..9c38bbb495e 100644
--- a/docs/envvars.html
+++ b/docs/envvars.html
@@ -642,6 +642,17 @@ Mesa EGL supports different sets of environment variables. See the
<dd>force anisotropy filter (up to 16)</dd>
<dt><code>RADV_TRACE_FILE</code></dt>
<dd>generate cmdbuffer tracefiles when a GPU hang is detected</dd>
+<dt><code>ACO_DEBUG</code></dt>
+<dd>a comma-separated list of named flags, which do various things:
+<dl>
+ <dt><code>validateir</code></dt>
+ <dd>validate the ACO IR at various points of compilation (enabled by default for debug/debugoptimized builds)</dd>
+ <dt><code>validatera</code></dt>
+ <dd>validate register assignment of ACO IR and catches many RA bugs</dd>
+ <dt><code>perfwarn</code></dt>
+ <dd>abort on some suboptimal code generation</dd>
+</dl>
+</dd>
</dl>
<h3>radeonsi driver environment variables</h3>