aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Hellstrom <[email protected]>2020-01-28 13:04:23 +0100
committerMarge Bot <[email protected]>2020-01-29 10:56:06 +0000
commit9ee3ec348e16f62120ef72fe2d789aa9c05bfecd (patch)
tree4916d5f0a0912ab2802acb1a7276426bad985fa9
parent8830e9f0cac2df7c8a1ae09086f27d8eb9bc80bd (diff)
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 <[email protected]> Reviewed-by: Charmaine Lee <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]> Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3614> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3614>
-rw-r--r--src/gallium/auxiliary/util/u_debug_flush.c2
1 files changed, 1 insertions, 1 deletions
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 <stdio.h>
/* 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;