From 9ee3ec348e16f62120ef72fe2d789aa9c05bfecd Mon Sep 17 00:00:00 2001 From: Thomas Hellstrom Date: Tue, 28 Jan 2020 13:04:23 +0100 Subject: [PATCH] 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: --- src/gallium/auxiliary/util/u_debug_flush.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2