[Mesa-dev] [PATCH] ddebug: dump most driver information with GALLIUM_DDEBUG=always

Marek Olšák maraeo at gmail.com
Tue Oct 4 22:37:24 UTC 2016


From: Marek Olšák <marek.olsak at amd.com>

---
 src/gallium/drivers/ddebug/dd_draw.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/gallium/drivers/ddebug/dd_draw.c b/src/gallium/drivers/ddebug/dd_draw.c
index 511daf4..970712c 100644
--- a/src/gallium/drivers/ddebug/dd_draw.c
+++ b/src/gallium/drivers/ddebug/dd_draw.c
@@ -1103,21 +1103,25 @@ dd_after_draw(struct dd_context *dctx, struct dd_call *call)
             /* Terminate the process to prevent future hangs. */
             dd_kill_process();
          }
          break;
       case DD_DETECT_HANGS_PIPELINED:
          dd_pipelined_process_draw(dctx, call);
          break;
       case DD_DUMP_ALL_CALLS:
          if (!dscreen->no_flush)
             pipe->flush(pipe, NULL, 0);
-         dd_write_report(dctx, call, 0, false);
+         dd_write_report(dctx, call,
+                         PIPE_DUMP_CURRENT_STATES |
+                         PIPE_DUMP_CURRENT_SHADERS |
+                         PIPE_DUMP_LAST_COMMAND_BUFFER,
+                         false);
          break;
       case DD_DUMP_APITRACE_CALL:
          if (dscreen->apitrace_dump_call ==
              dctx->draw_state.apitrace_call_number) {
             dd_write_report(dctx, call,
                             PIPE_DUMP_CURRENT_STATES |
                             PIPE_DUMP_CURRENT_SHADERS,
                             false);
             /* No need to continue. */
             exit(0);
-- 
2.7.4



More information about the mesa-dev mailing list