summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_debug.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-01-23 13:26:04 +0100
committerMarek Olšák <[email protected]>2012-01-25 12:35:18 +0100
commit732f69c94e17aae8dae98cdc84fdb232fdda2484 (patch)
tree98f48b440a1ee60296f87d8e2a870374ded36f02 /src/mesa/state_tracker/st_debug.c
parentbc1c8369384b5e16547c5bf9728aa78f8dfd66cc (diff)
st/mesa: move fragment shader tgsi tokens into st_fp_variant
The TGSI code may vary depending on the clamp_color bit.
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 e1e373d07d4..850fab92503 100644
--- a/src/mesa/state_tracker/st_debug.c
+++ b/src/mesa/state_tracker/st_debug.c
@@ -94,7 +94,7 @@ st_print_current(void)
if (st->vp->Base.Base.Parameters)
_mesa_print_parameter_list(st->vp->Base.Base.Parameters);
- tgsi_dump( st->fp->tgsi.tokens, 0 );
+ tgsi_dump( st->fp->variants[0].tgsi.tokens, 0 );
if (st->fp->Base.Base.Parameters)
_mesa_print_parameter_list(st->fp->Base.Base.Parameters);
}