Update Visual Studio Project file for src tree updates.
[mesa.git] / src / mesa / tnl / t_vb_vertex.c
index 3d6428188215abcc43d8d6e614a361bb39b64a72..3951439fff3882c7b3dd5b0cab21b89bcdbb0228 100644 (file)
@@ -148,6 +148,18 @@ static GLboolean run_vertex_stage( GLcontext *ctx,
            VB->EyePtr = TransformRaw( &store->eye,
                                        ctx->ModelviewMatrixStack.Top,
                                       VB->ObjPtr);
+#if 0
+         /* examine some eye coordinates */
+         {
+            GLuint i;
+            GLfloat *v = VB->EyePtr->start;
+            for (i = 0; i < 4; i++) {
+               _mesa_printf("eye[%d] = %g, %g, %g, %g\n",
+                            i, v[0], v[1], v[2], v[3]);
+               v += 4;
+            }
+         }
+#endif
       }
 
       VB->ClipPtr = TransformRaw( &store->clip,
@@ -161,12 +173,27 @@ static GLboolean run_vertex_stage( GLcontext *ctx,
         /* impossible */
       case 2:
         _mesa_vector4f_clean_elem( VB->ClipPtr, VB->Count, 2 );
+         /* fall-through */
       case 3:
         _mesa_vector4f_clean_elem( VB->ClipPtr, VB->Count, 3 );
+         /* fall-through */
       case 4:
         break;
       }
 
+#if 0
+      /* examine some clip coordinates */
+      {
+         GLuint i;
+         GLfloat *v = VB->ClipPtr->start;
+         for (i = 0; i < 4; i++) {
+            _mesa_printf("clip[%d] = %g, %g, %g, %g\n",
+                         i, v[0], v[1], v[2], v[3]);
+            v += 4;
+         }
+      }
+#endif
+
       /* Cliptest and perspective divide.  Clip functions must clear
        * the clipmask.
        */