r600g: implement shader disassembler v3
authorVadim Girlin <vadimgirlin@gmail.com>
Fri, 1 Feb 2013 07:46:29 +0000 (11:46 +0400)
committerVadim Girlin <vadimgirlin@gmail.com>
Fri, 1 Feb 2013 08:08:42 +0000 (12:08 +0400)
commite42111ecbaca8b6dab3c8a7a8cbc295bb6b404eb
tree28237fd059a88da1d5a767047d12da393ee70c5b
parent022122ee63b8a00afc23eaa347df934a79fb1d4c
r600g: implement shader disassembler v3

R600_DUMP_SHADERS environment var now allows to choose dump method:
 0 (default) - no dump
 1 - full dump (old dump)
 2 - disassemble
 3 - both

v2: fix output for burst_count > 1
v3: use more human-readable output for kcache data in CF_ALU_xxx clauses,
    improve output for ALU_EXTENDED, other minor fixes

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
src/gallium/drivers/r600/r600_asm.c
src/gallium/drivers/r600/r600_asm.h
src/gallium/drivers/r600/r600_shader.c