docs: document CLC_DEBUG
authorKarol Herbst <git@karolherbst.de>
Fri, 23 Jun 2023 00:11:34 +0000 (02:11 +0200)
committerMarge Bot <emma+marge@anholt.net>
Sat, 24 Jun 2023 01:52:07 +0000 (01:52 +0000)
Signed-off-by: Karol Herbst <git@karolherbst.de>
Reviewed-by: Nora Allen <blackcatgames@protonmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23818>

docs/envvars.rst

index b65581a..57ea5ae 100644 (file)
@@ -947,6 +947,18 @@ Rusticl environment variables
 
    - ``program`` dumps compilation logs to stderr
 
+.. _clc-env-var:
+
+clc environment variables
+-----------------------------
+
+.. envvar:: CLC_DEBUG
+
+   a comma-separated list of debug channels to enable.
+
+   - ``dump_spirv`` Dumps all compiled, linked and specialized SPIR-Vs
+   - ``verbose`` Enable debug logging of clc code
+
 Nine frontend environment variables
 -----------------------------------