From f4436d606e0ae76ef6092b850cf79fa3e014f61e Mon Sep 17 00:00:00 2001 From: David Rosca Date: Tue, 29 Jul 2025 11:34:39 +0200 Subject: [PATCH] radeonsi: Add missing DEBUG_NAMED_VALUE_END to radeonsi_shader_debug_options MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AddressSanitizer: global-buffer-overflow ../src/util/u_debug.c:331 in debug_parse_flags_option Fixes: 5c92fe45a1a ("radeonsi: support more than 64 options for AMD_DEBUG") Reviewed-by: Qiang Yu Reviewed-by: Marek Olšák Part-of: --- src/gallium/drivers/radeonsi/si_pipe.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index a6f75f74a80..bbe00e3b680 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -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[] = {