freedreno/ir3: redirectable ir3 disasm output
authorRob Clark <robdclark@gmail.com>
Mon, 9 Jul 2018 16:36:10 +0000 (12:36 -0400)
committerRob Clark <robdclark@gmail.com>
Wed, 18 Jul 2018 14:10:45 +0000 (10:10 -0400)
commite4c225ab6f610a3989e7f7f7c6a2a957b92d4528
tree9e955c3380c1f305c0bd6e3a4ff664b25463d964
parent4c58db806449ec4e4cf14c1ffdce60ad5ac12adc
freedreno/ir3: redirectable ir3 disasm output

For now it still goes to stdout, this will make it easier to support
output on stderr like what frameretrace expects.

(If we eventually have a proper GL extension for this, implementation
probably looks like dumping shader disasm to a tmp file and then dumping
that out over whatever mechanism is used.)

Signed-off-by: Rob Clark <robdclark@gmail.com>
src/gallium/drivers/freedreno/ir3/ir3_cmdline.c
src/gallium/drivers/freedreno/ir3/ir3_shader.c
src/gallium/drivers/freedreno/ir3/ir3_shader.h