freedreno/ir3: add ir3_shader_disasm()
authorRob Clark <robclark@freedesktop.org>
Mon, 29 Jun 2015 14:21:08 +0000 (10:21 -0400)
committerRob Clark <robclark@freedesktop.org>
Tue, 30 Jun 2015 16:13:44 +0000 (12:13 -0400)
commitdb5105b4b35e064f3934154b45de15422a1bdb0a
tree82035995f0f989124bee1870f0b37c0cd0a22554
parent3244195f48affec1d3c2eb5d0e267c75b046db9f
freedreno/ir3: add ir3_shader_disasm()

Split out most of dump_info() from ir3_cmdline compiler into a function
that can be used both by cmdline compiler and also for the disasm debug
option.  This way, for FD_MESA_DEBUG=disasm we also get to see intput/
output registers, etc.

Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
src/gallium/drivers/freedreno/ir3/ir3_shader.c
src/gallium/drivers/freedreno/ir3/ir3_shader.h