diff options
author | Erik Faye-Lund <[email protected]> | 2018-08-20 12:46:32 +0100 |
---|---|---|
committer | Erik Faye-Lund <[email protected]> | 2018-08-28 14:13:43 +0200 |
commit | a4e60ccb56f339d3a20463b14ae4b3e124771f1a (patch) | |
tree | 0bc7f44ab495c4c441d4451cb84b1fb901e205fd /src/gallium/drivers/virgl/virgl_screen.h | |
parent | 4ab06cc56e66118c4834ed8bbeed05e727bc34f7 (diff) |
virgl: add debug-switch to output TGSI
This is quite useful for debugging shader-transpiling issues in
virglrenderer.
Signed-off-by: Erik Faye-Lund <[email protected]>
Reviewed-By: Gert Wollny <[email protected]>
Diffstat (limited to 'src/gallium/drivers/virgl/virgl_screen.h')
-rw-r--r-- | src/gallium/drivers/virgl/virgl_screen.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/virgl/virgl_screen.h b/src/gallium/drivers/virgl/virgl_screen.h index 8334d162424..719f5166d78 100644 --- a/src/gallium/drivers/virgl/virgl_screen.h +++ b/src/gallium/drivers/virgl/virgl_screen.h @@ -28,6 +28,7 @@ #include "virgl_winsys.h" #define VIRGL_DEBUG_VERBOSE 1 +#define VIRGL_DEBUG_TGSI 2 extern int virgl_debug; struct virgl_screen { |