mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 17:40:25 +01:00
radeonsi: Add missing DEBUG_NAMED_VALUE_END to radeonsi_shader_debug_options
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:
parent
60932e8fae
commit
f4436d606e
1 changed files with 2 additions and 0 deletions
|
|
@ -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[] = {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue