[Mesa-dev] [PATCH 00/11] gallium, radeonsi: debug dumping of compute shader state

Nicolai Hähnle nhaehnle at gmail.com
Mon May 8 15:35:50 UTC 2017


Hi all,

This series fills in a minor gap: launch_grid is now covered as well as
regular draws with ddebug.

The code in radeonsi that dumps shaders and descriptor lists makes no
efforts to determine whether the graphics or the compute shaders are
relevant for the currently dumped state. It should be obvious enough
when actually looking at the resulting files.

Please review!
Thanks,
Nicolai
--
 src/gallium/auxiliary/util/u_dump.h          |   3 +
 src/gallium/auxiliary/util/u_dump_state.c    |  39 +++-
 src/gallium/drivers/ddebug/dd_context.c      |   2 +
 src/gallium/drivers/ddebug/dd_draw.c         | 162 +++++++++--------
 .../drivers/radeonsi/Makefile.sources        |   1 +
 src/gallium/drivers/radeonsi/si_compute.c    |  22 +--
 src/gallium/drivers/radeonsi/si_compute.h    |  50 +++++
 src/gallium/drivers/radeonsi/si_debug.c      | 106 +++++++----
 src/gallium/drivers/radeonsi/si_shader.c     |  20 +-
 src/gallium/drivers/radeonsi/si_shader.h     |   4 +-
 10 files changed, 262 insertions(+), 147 deletions(-)



More information about the mesa-dev mailing list