Mesa (master): ddebug: dump most driver information with GALLIUM_DDEBUG= always

Marek Olšák mareko at kemper.freedesktop.org
Wed Oct 5 19:04:23 UTC 2016


Module: Mesa
Branch: master
Commit: 10e5f126dd08849d9d209c8c0b80f2d2f6527571
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=10e5f126dd08849d9d209c8c0b80f2d2f6527571

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Wed Oct  5 00:06:10 2016 +0200

ddebug: dump most driver information with GALLIUM_DDEBUG=always

Reviewed-by: Nicolai Hähnle <nicolai.haehnle 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
@@ -1110,7 +1110,11 @@ dd_after_draw(struct dd_context *dctx, struct dd_call *call)
       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 ==




More information about the mesa-commit mailing list