ddebug: dump most driver information with GALLIUM_DDEBUG=always
authorMarek Olšák <marek.olsak@amd.com>
Tue, 4 Oct 2016 22:06:10 +0000 (00:06 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 5 Oct 2016 19:03:23 +0000 (21:03 +0200)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/ddebug/dd_draw.c

index 511daf429d9570eedebc6b5da9677996698eb559..970712cbf972187590fff2e832528fdce0422675 100644 (file)
@@ -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 ==