lima: add standalone disassembler with primitive MBS parser
authorVasily Khoruzhick <anarsoul@gmail.com>
Sat, 14 Sep 2019 07:15:28 +0000 (00:15 -0700)
committerVasily Khoruzhick <anarsoul@gmail.com>
Mon, 16 Sep 2019 16:29:55 +0000 (09:29 -0700)
commitca5782f0ee05496a4c0fefb69932d94b65b66597
tree37654f2882f5d9a7cba2e59c8d3c292e88ff228d
parentdf8602f4b534096ec09d83f6ee543187ff0fb411
lima: add standalone disassembler with primitive MBS parser

It's useful for analyzing shader binaries produced by ARM mali offline
compiler which outputs files in MBS format. MBS is mali binary shader,
currently parser just extracts shader binary and ignores everything else.

Reviewed-and-tested-by: Connor Abbott<cwabbott0@gmail.com>
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
src/gallium/drivers/lima/meson.build
src/gallium/drivers/lima/standalone/lima_disasm.c [new file with mode: 0644]