radeonsi: add radeonsi_debug_disassembly option
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 29 Apr 2019 14:02:29 +0000 (16:02 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 13 Jun 2019 00:28:23 +0000 (20:28 -0400)
commit2d114e6267cdce330ed43af66a03c5836129506d
tree2f93bc5dfeae27e4b26c12851bf42f55c933af9f
parent3bde69e789ca75d6b5dc9afc48dcb1675714769c
radeonsi: add radeonsi_debug_disassembly option

This dumps disassembly to the pipe_debug_callback together with shader
stats.

Can be used together with shader-db to get full disassembly of all shaders
in the database.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_debug_options.h
src/gallium/drivers/radeonsi/si_shader.c