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@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@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>
This commit is contained in:
Thomas Hellstrom 2020-01-28 13:04:23 +01:00 committed by Marge Bot
parent 8830e9f0ca
commit 9ee3ec348e

View file

@ -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;