From: Thomas Hellstrom Date: Tue, 28 Jan 2020 12:04:23 +0000 (+0100) Subject: gallium/util: Increase the debug_flush map depth X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9ee3ec348e16f62120ef72fe2d789aa9c05bfecd;hp=8830e9f0cac2df7c8a1ae09086f27d8eb9bc80bd;p=mesa.git gallium/util: Increase the debug_flush map depth Some piglit tests trigger a map depth assert when debug_flush is active. Fix this by increasing the map depth from 16 to 32. Signed-off-by: Thomas Hellstrom Reviewed-by: Charmaine Lee Reviewed-by: Brian Paul Reviewed-by: Roland Scheidegger Tested-by: Marge Bot Part-of: --- diff --git a/src/gallium/auxiliary/util/u_debug_flush.c b/src/gallium/auxiliary/util/u_debug_flush.c index fdb06ac92de..62cbd1f61bd 100644 --- a/src/gallium/auxiliary/util/u_debug_flush.c +++ b/src/gallium/auxiliary/util/u_debug_flush.c @@ -51,7 +51,7 @@ #include /* Future improvement: Use realloc instead? */ -#define DEBUG_FLUSH_MAP_DEPTH 16 +#define DEBUG_FLUSH_MAP_DEPTH 32 struct debug_map_item { struct debug_stack_frame *frame;