virgl: add debug-switch to output TGSI
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Mon, 20 Aug 2018 11:46:32 +0000 (12:46 +0100)
committerErik Faye-Lund <erik.faye-lund@collabora.com>
Tue, 28 Aug 2018 12:13:43 +0000 (14:13 +0200)
commita4e60ccb56f339d3a20463b14ae4b3e124771f1a
tree0bc7f44ab495c4c441d4451cb84b1fb901e205fd
parent4ab06cc56e66118c4834ed8bbeed05e727bc34f7
virgl: add debug-switch to output TGSI

This is quite useful for debugging shader-transpiling issues in
virglrenderer.

Signed-off-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Reviewed-By: Gert Wollny <gert.wollny@collabora.com>
src/gallium/drivers/virgl/virgl_encode.c
src/gallium/drivers/virgl/virgl_screen.c
src/gallium/drivers/virgl/virgl_screen.h