summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mesa/state_tracker/st_debug.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_debug.c b/src/mesa/state_tracker/st_debug.c
index a88888b17c..e00684ac03 100644
--- a/src/mesa/state_tracker/st_debug.c
+++ b/src/mesa/state_tracker/st_debug.c
@@ -49,6 +49,12 @@ st_print_current(void)
{
GET_CURRENT_CONTEXT(ctx);
struct st_context *st = ctx->st;
+ int i;
+
+ printf("Vertex Transform Inputs:\n");
+ for (i = 0; i < st->state.vs->state.num_inputs; i++) {
+ printf(" Slot %d: VERT_ATTRIB_%d\n", i, st->vp->index_to_input[i]);
+ }
tgsi_dump( st->state.vs->state.tokens, 0 );
if (st->vp->Base.Base.Parameters)