projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bd119f
)
print vertex input mapping
author
Brian
<brian.paul@tungstengraphics.com>
Thu, 18 Oct 2007 16:55:26 +0000
(10:55 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Thu, 18 Oct 2007 17:41:12 +0000
(11:41 -0600)
src/mesa/state_tracker/st_debug.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_debug.c
b/src/mesa/state_tracker/st_debug.c
index a88888b17c9883a895e660e0c188da7500e4f798..e00684ac0360ec9b75fe388fffee6058ed3d0c73 100644
(file)
--- 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)