broadcom: document which debug options are specific for a given driver

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17609>
This commit is contained in:
Alejandro Piñeiro 2022-07-05 13:10:52 +02:00 committed by Marge Bot
parent e4d7c3b179
commit 72cc268858
1 changed files with 7 additions and 5 deletions

View File

@ -53,15 +53,17 @@ static const struct debug_named_value debug_control[] = {
{ "nir", V3D_DEBUG_NIR,
"Dump NIR during program compile" },
{ "tgsi", V3D_DEBUG_TGSI,
"Dump TGSI during program compile" },
"Dump TGSI during program compile (v3d only)" },
{ "shaderdb", V3D_DEBUG_SHADERDB,
"Dump program compile information for shader-db analysis" },
{ "surface", V3D_DEBUG_SURFACE,
"Print resource layout information" },
/* FIXME: evaluate to implement it on v3dv */
"Print resource layout information (v3d only)" },
{ "perf", V3D_DEBUG_PERF,
"Print performance-related events during runtime" },
{ "norast", V3D_DEBUG_NORAST,
"Skip actual hardware execution of commands" },
/* FIXME: evaluate to implement on v3dv*/
"Skip actual hardware execution of commands (v3d only)" },
{ "fs", V3D_DEBUG_FS,
"Dump fragment shaders" },
{ "gs", V3D_DEBUG_GS,
@ -73,11 +75,11 @@ static const struct debug_named_value debug_control[] = {
{ "always_flush", V3D_DEBUG_ALWAYS_FLUSH,
"Flush after each draw call" },
{ "precompile", V3D_DEBUG_PRECOMPILE,
"Precompiles shader variant at shader state creation time" },
"Precompiles shader variant at shader state creation time (v3d only)" },
{ "ra", V3D_DEBUG_RA,
"Dump register allocation failures" },
{ "dump_spirv", V3D_DEBUG_DUMP_SPIRV,
"Dump SPIR-V code" },
"Dump SPIR-V code (v3dv only)" },
{ "tmu32", V3D_DEBUG_TMU_32BIT,
"Force 32-bit precision on all TMU operations" },
/* This can lead to incorrect behavior for applications that do