From 8b791c24eae200c86b32fac215b4ff2f30bf0bf5 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Mon, 24 Apr 2023 10:23:36 +0100 Subject: [PATCH] v3d: document that `V3D_DEBUG=shaderdb` is *not* for shader-db Signed-off-by: Eric Engestrom Reviewed-by: Iago Toral Quiroga Part-of: --- src/broadcom/common/v3d_debug.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/broadcom/common/v3d_debug.c b/src/broadcom/common/v3d_debug.c index f9cd5aca742..b6b32bc72ad 100644 --- a/src/broadcom/common/v3d_debug.c +++ b/src/broadcom/common/v3d_debug.c @@ -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,