v3d: document that `V3D_DEBUG=shaderdb` is *not* for shader-db
authorEric Engestrom <eric@igalia.com>
Mon, 24 Apr 2023 09:23:36 +0000 (10:23 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 24 Apr 2023 10:01:00 +0000 (10:01 +0000)
Signed-off-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22659>

src/broadcom/common/v3d_debug.c

index f9cd5ac..b6b32bc 100644 (file)
@@ -54,6 +54,10 @@ static const struct debug_named_value debug_control[] = {
           "Dump NIR during program compile" },
         { "tgsi",        V3D_DEBUG_TGSI,
           "Dump TGSI during program compile (v3d only)" },
+        /* `shaderdb` is *not* used by shader-db, but is here so that any other
+         * game/app can dump its stats in the shader-db format, allowing them
+         * to be compared using shader-db's report.py tool.
+         */
         { "shaderdb",    V3D_DEBUG_SHADERDB,
           "Dump program compile information for shader-db analysis" },
         { "surface",     V3D_DEBUG_SURFACE,