Mesa (main): gallium/util: Increase the debug_flush map depth to 64

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Apr 26 01:14:04 UTC 2022


Module: Mesa
Branch: main
Commit: c63346eb69c2ae3f5626bd2154854be6a2948fab
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=c63346eb69c2ae3f5626bd2154854be6a2948fab

Author: Charmaine Lee <charmainel at vmware.com>
Date:   Wed Mar  9 18:20:46 2022 -0800

gallium/util: Increase the debug_flush map depth to 64

Piglit tests fbo-generatemipmap-3d RGB9_E5 and
fbo-generatemipmap-cubemap array RGB9_E5 hit assert when debug_flush
is active. Increase the debug map depth to 64.

Reviewed-by: Neha Bhende <bhenden at vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16061>

---

 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 4f3c98aec2f..591698b50e0 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 32
+#define DEBUG_FLUSH_MAP_DEPTH 64
 
 struct debug_map_item {
    struct debug_stack_frame *frame;



More information about the mesa-commit mailing list