Mesa (master): gallium/util: Increase the debug_flush map depth
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jan 29 11:18:23 UTC 2020
Module: Mesa
Branch: master
Commit: 9ee3ec348e16f62120ef72fe2d789aa9c05bfecd
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9ee3ec348e16f62120ef72fe2d789aa9c05bfecd
Author: Thomas Hellstrom <thellstrom at vmware.com>
Date: Tue Jan 28 13:04:23 2020 +0100
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 <thellstrom at vmware.com>
Reviewed-by: Charmaine Lee <charmainel at vmware.com>
Reviewed-by: Brian Paul <brianp at vmware.com>
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3614>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3614>
---
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 <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;
More information about the mesa-commit
mailing list