From 2f33c52daf34d813a453acb8f4d972227dafb602 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Pi=C3=B1eiro?= Date: Sat, 26 Mar 2022 00:38:36 +0100 Subject: [PATCH] docs: document v3d/v3dv envvars As we are here we also update VC4_DEBUG option, in order to rely on VC4_DEBUG=help Reviewed-by: Iago Toral Quiroga Reviewed-by: Juan A. Suarez Part-of: --- docs/envvars.rst | 32 +++++++++----------------------- 1 file changed, 9 insertions(+), 23 deletions(-) diff --git a/docs/envvars.rst b/docs/envvars.rst index 1e8daba0315..b751516ba50 100644 --- a/docs/envvars.rst +++ b/docs/envvars.rst @@ -575,30 +575,16 @@ VC4 driver environment variables -------------------------------- :envvar:`VC4_DEBUG` - a comma-separated list of named flags, which do various things: + a comma-separated list of named flags, which do various things. Use + `VC4_DEBUG=help` to print a list of available options. - ``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) + +V3D/V3DV driver environment variables +------------------------------------- + +:envvar:`V3D_DEBUG` + a comma-separated list of debug options. Use `V3D_DEBUG=help` to + print a list of available options. .. _radv env-vars: