diff options
author | Nicolai Hähnle <[email protected]> | 2017-08-07 11:05:20 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-08-22 09:53:35 +0200 |
commit | a6e7693882483bc64d003908874f84956b1c79a9 (patch) | |
tree | 1c02d1c3f9aa3d1b676415e03872204c7a6d92c2 /src/gallium/drivers/ddebug/dd_draw.c | |
parent | 635a930ad3c0415a2855a3d9b958d4f34304225f (diff) |
gallium: remove unused PIPE_DUMP_* defines
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/drivers/ddebug/dd_draw.c')
-rw-r--r-- | src/gallium/drivers/ddebug/dd_draw.c | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/src/gallium/drivers/ddebug/dd_draw.c b/src/gallium/drivers/ddebug/dd_draw.c index aa38c561c57..4bf13bd7e46 100644 --- a/src/gallium/drivers/ddebug/dd_draw.c +++ b/src/gallium/drivers/ddebug/dd_draw.c @@ -620,10 +620,7 @@ dd_flush_and_handle_hang(struct dd_context *dctx, if (f) { fprintf(f, "dd: %s.\n", cause); dd_dump_driver_state(dctx, f, - PIPE_DUMP_DEVICE_STATUS_REGISTERS | - PIPE_DUMP_CURRENT_STATES | - PIPE_DUMP_CURRENT_SHADERS | - PIPE_DUMP_LAST_COMMAND_BUFFER); + PIPE_DUMP_DEVICE_STATUS_REGISTERS); dd_dump_dmesg(f); dd_close_file_stream(f); } @@ -1118,10 +1115,7 @@ dd_after_draw(struct dd_context *dctx, struct dd_call *call) if (!dscreen->no_flush && dd_flush_and_check_hang(dctx, NULL, 0)) { dd_write_report(dctx, call, - PIPE_DUMP_DEVICE_STATUS_REGISTERS | - PIPE_DUMP_CURRENT_STATES | - PIPE_DUMP_CURRENT_SHADERS | - PIPE_DUMP_LAST_COMMAND_BUFFER, + PIPE_DUMP_DEVICE_STATUS_REGISTERS, true); /* Terminate the process to prevent future hangs. */ @@ -1136,19 +1130,12 @@ 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, - PIPE_DUMP_CURRENT_STATES | - PIPE_DUMP_CURRENT_SHADERS | - PIPE_DUMP_LAST_COMMAND_BUFFER, - false); + dd_write_report(dctx, call, 0, 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); + dd_write_report(dctx, call, 0, false); /* No need to continue. */ exit(0); } else { |