gallium: rework flags for pipe_context::dump_debug_state
authorMarek Olšák <marek.olsak@amd.com>
Tue, 19 Jul 2016 19:41:03 +0000 (21:41 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 26 Jul 2016 21:06:46 +0000 (23:06 +0200)
commit6bf81de339289b0d005553414ce568b136a0ca5f
tree81b305d0fa4434db18b4caf3789475fa5727d103
parent9ace2c13550609dfe78164f104500d438821f383
gallium: rework flags for pipe_context::dump_debug_state

The pipelined hang detection mode will not want to dump everything.
(and it's also time consuming) It will only dump shaders after a draw call
and then dump the status registers separately if a hang is detected.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/ddebug/dd_draw.c
src/gallium/drivers/radeonsi/si_debug.c
src/gallium/include/pipe/p_context.h
src/gallium/include/pipe/p_defines.h