nv50/ir: Add prog_info_out print
authorMark Menzynski <mmenzyns@redhat.com>
Tue, 28 Jan 2020 12:10:35 +0000 (13:10 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 25 Aug 2020 18:56:37 +0000 (18:56 +0000)
commit3e99af66b4e4ba658072e93f4de519dd271913e0
tree5ca48f30835cde845d68600a9a63ed445386a782
parentf20a210dc8552daadfe403d899a9ba6cdd21560b
nv50/ir: Add prog_info_out print

Adds a function for printing nv50_ir_prog_info_out structure
in JSON-like format, which could be used in debugging.

Signed-off-by: Mark Menzynski <mmenzyns@redhat.com>
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4264>
src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h
src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp