diff options
author | Adam Jackson <ajax@redhat.com> | 2020-12-17 11:07:30 -0500 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-01-04 20:51:28 +0000 |
commit | 8ddddfb5167e9d26dcf342d5390e702010197208 (patch) | |
tree | 9724c4990d20ba224f7eb9ae90530a9e4f173381 /src/panfrost/midgard | |
parent | ebfe3e7d1b3182c1f10202b143b4bffbf4bcfc30 (diff) |
treewide: Disambiguate various variables named "debug_options"
Name them after what they control so 'vi -t' can take you somewhere
useful.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8165>
Diffstat (limited to 'src/panfrost/midgard')
-rw-r--r-- | src/panfrost/midgard/midgard_compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/panfrost/midgard/midgard_compile.c b/src/panfrost/midgard/midgard_compile.c index 09230fa2f26..631aae293b0 100644 --- a/src/panfrost/midgard/midgard_compile.c +++ b/src/panfrost/midgard/midgard_compile.c @@ -54,14 +54,14 @@ #include "disassemble.h" -static const struct debug_named_value debug_options[] = { +static const struct debug_named_value midgard_debug_options[] = { {"msgs", MIDGARD_DBG_MSGS, "Print debug messages"}, {"shaders", MIDGARD_DBG_SHADERS, "Dump shaders in NIR and MIR"}, {"shaderdb", MIDGARD_DBG_SHADERDB, "Prints shader-db statistics"}, DEBUG_NAMED_VALUE_END }; -DEBUG_GET_ONCE_FLAGS_OPTION(midgard_debug, "MIDGARD_MESA_DEBUG", debug_options, 0) +DEBUG_GET_ONCE_FLAGS_OPTION(midgard_debug, "MIDGARD_MESA_DEBUG", midgard_debug_options, 0) /* TODO: This is not thread safe!! */ static unsigned SHADER_DB_COUNT = 0; |