summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-10-18 10:55:26 -0600
committerBrian <[email protected]>2007-10-18 11:41:12 -0600
commit54c5262eaff45bea8fa01305fa423341998fdc4e (patch)
tree3d71583669b56874cc81e8447f319a89d13f6b33
parent5bd119f9438b680f5e42458ef0b250662af36235 (diff)
print vertex input mapping
-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 a88888b17c9..e00684ac036 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)