print vertex input mapping

This commit is contained in:
Brian 2007-10-18 10:55:26 -06:00
parent 5bd119f943
commit 54c5262eaf

View file

@ -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)