summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_debug.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2015-10-05 03:26:48 +0200
committerMarek Olšák <[email protected]>2015-10-09 22:02:18 +0200
commita907b5dd162b7911b8c21f6d54837831bc078059 (patch)
tree990b64785bec7bb626fab62b56f8334a70c9bd17 /src/mesa/state_tracker/st_debug.c
parent46021ace514cf2ba91733dfcfd258073b90c0354 (diff)
st/mesa: translate fragment shaders into TGSI when we get them
Reviewed-by: Dave Airlie <[email protected]> Reviewed-by: Brian Paul <[email protected]> Tested-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_debug.c')
-rw-r--r--src/mesa/state_tracker/st_debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_debug.c b/src/mesa/state_tracker/st_debug.c
index 50891c112cb..6d859c6ab5b 100644
--- a/src/mesa/state_tracker/st_debug.c
+++ b/src/mesa/state_tracker/st_debug.c
@@ -98,7 +98,7 @@ st_print_current(void)
if (st->vp->Base.Base.Parameters)
_mesa_print_parameter_list(st->vp->Base.Base.Parameters);
- tgsi_dump( st->fp->variants[0].tgsi.tokens, 0 );
+ tgsi_dump(st->fp->tgsi.tokens, 0);
if (st->fp->Base.Base.Parameters)
_mesa_print_parameter_list(st->fp->Base.Base.Parameters);
}