radeonsi: Add missing DEBUG_NAMED_VALUE_END to radeonsi_shader_debug_options
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

AddressSanitizer: global-buffer-overflow ../src/util/u_debug.c:331 in debug_parse_flags_option

Fixes: 5c92fe45a1 ("radeonsi: support more than 64 options for AMD_DEBUG")
Reviewed-by: Qiang Yu <yuq825@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36434>
This commit is contained in:
David Rosca 2025-07-29 11:34:39 +02:00 committed by Marge Bot
parent 60932e8fae
commit f4436d606e

View file

@ -124,6 +124,8 @@ static const struct debug_named_value radeonsi_shader_debug_options[] = {
{"nooptvariant", DBG(NO_OPT_VARIANT), "Disable compiling optimized shader variants."},
{"useaco", DBG(USE_ACO), "Use ACO as shader compiler when possible"},
{"usellvm", DBG(USE_LLVM), "Use LLVM as shader compiler when possible"},
DEBUG_NAMED_VALUE_END /* must be last */
};
static const struct debug_named_value test_options[] = {