gallium: added some debug code (disabled)
authorBrian <brian.paul@tungstengraphics.com>
Fri, 14 Mar 2008 16:23:39 +0000 (10:23 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 14 Mar 2008 16:23:56 +0000 (10:23 -0600)
src/gallium/auxiliary/draw/draw_vs_exec.c

index 55bec14..364693e 100644 (file)
@@ -166,6 +166,19 @@ vs_exec_run( struct draw_vertex_shader *shader,
          vOut[j]->data[slot][2] = machine->Outputs[slot].xyzw[2].f[j];
          vOut[j]->data[slot][3] = machine->Outputs[slot].xyzw[3].f[j];
       }
+
+#if 0 /*DEBUG*/
+      printf("Post xform vert:\n");
+      for (slot = 0; slot < draw->num_vs_outputs; slot++) {
+         printf("%d: %f %f %f %f\n", slot,
+                vOut[j]->data[slot][0],
+                vOut[j]->data[slot][1],
+                vOut[j]->data[slot][2],
+                vOut[j]->data[slot][3]);
+      }
+#endif      
+
+
    } /* loop over vertices */
 }