summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-01-09 17:47:13 -0700
committerBrian <brian@yutani.localnet.net>2007-01-09 17:47:13 -0700
commit5e75db12d7b17f0295e8099bd357220df97d5013 (patch)
tree68828ceb002bb8d095dc409e49a92585916f1272 /src/mesa
parente8673143ea3d0edf1be7ba8e0723ddba61d8f3f8 (diff)
more debug code (disabled)
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/swrast/s_fragprog.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_fragprog.c b/src/mesa/swrast/s_fragprog.c
index 517b63c91b..83a50c7451 100644
--- a/src/mesa/swrast/s_fragprog.c
+++ b/src/mesa/swrast/s_fragprog.c
@@ -1601,12 +1601,16 @@ init_machine( GLcontext *ctx, struct fp_machine *machine,
/*ASSERT(ctx->Texture._EnabledCoordUnits & (1 << u));*/
COPY_4V(tex, span->array->texcoords[u][col]);
/*ASSERT(tex[0] != 0 || tex[1] != 0 || tex[2] != 0);*/
+#if 0
+ printf("Texcoord %d: %g %g %g %g\n", u,
+ tex[0], tex[1], tex[2], tex[3]);
+#endif
}
}
for (v = 0; v < ctx->Const.MaxVarying; v++) {
if (inputsRead & (1 << (FRAG_ATTRIB_VAR0 + v))) {
#if 0
- printf("Frag Var %d: %f %f %f\n", col,
+ printf("Frag Var %d at y=%d: %f %f %f\n", v, col,
span->array->varying[col][v][0],
span->array->varying[col][v][1],
span->array->varying[col][v][2]);