From: Brian Date: Thu, 18 Oct 2007 16:55:26 +0000 (-0600) Subject: print vertex input mapping X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=54c5262eaff45bea8fa01305fa423341998fdc4e;p=mesa.git print vertex input mapping --- 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)