r600g/sb: separate bytecode decoding and parsing
authorVadim Girlin <vadimgirlin@gmail.com>
Sat, 11 May 2013 14:30:30 +0000 (18:30 +0400)
committerVadim Girlin <vadimgirlin@gmail.com>
Tue, 14 May 2013 13:36:25 +0000 (17:36 +0400)
commit57d1be0d2d195dac0e08585b6cd098779f7a7bd7
tree006ca007f61893ac7f37d23aa2576f2ade33b46a
parente195d301aeb50a33cc20b208900164a97524bef4
r600g/sb: separate bytecode decoding and parsing

Parsing and ir construction is required for optimization only,
it's unnecessary if we only need to print shader dump.
This should make new disassembler more tolerant to any new
features in the bytecode.

Signed-off-by: Vadim Girlin <vadimgirlin@gmail.com>
src/gallium/drivers/r600/sb/sb_bc.h
src/gallium/drivers/r600/sb/sb_bc_builder.cpp
src/gallium/drivers/r600/sb/sb_bc_parser.cpp
src/gallium/drivers/r600/sb/sb_core.cpp
src/gallium/drivers/r600/sb/sb_shader.cpp
src/gallium/drivers/r600/sb/sb_shader.h