remove some unneeded #includes
authorBrian Paul <brian.paul@tungstengraphics.com>
Tue, 13 Jun 2006 03:29:02 +0000 (03:29 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Tue, 13 Jun 2006 03:29:02 +0000 (03:29 +0000)
src/mesa/tnl/t_array_import.c
src/mesa/tnl/t_pipeline.c
src/mesa/tnl/t_vb_arbprogram.c
src/mesa/tnl/t_vb_program.c

index 38950d6..1b8fe0d 100644 (file)
@@ -33,7 +33,6 @@
 #include "mtypes.h"
 
 #include "array_cache/acache.h"
-#include "math/m_translate.h"
 
 #include "t_array_import.h"
 #include "t_context.h"
index a2d55b2..2efe701 100644 (file)
@@ -32,9 +32,6 @@
 #include "state.h"
 #include "mtypes.h"
 
-#include "math/m_translate.h"
-#include "math/m_xform.h"
-
 #include "t_context.h"
 #include "t_pipeline.h"
 #include "t_vp_build.h"
index 0b39f77..a590875 100644 (file)
@@ -38,7 +38,6 @@
 #include "light.h"
 #include "program.h"
 #include "math/m_matrix.h"
-#include "math/m_translate.h"
 #include "t_context.h"
 #include "t_pipeline.h"
 #include "t_vb_arbprogram.h"
@@ -1517,7 +1516,7 @@ static void dtr( struct tnl_pipeline_stage *stage )
  */
 const struct tnl_pipeline_stage _tnl_arb_vertex_program_stage =
 {
-   "vertex-program",
+   "arb-vertex-program",
    NULL,                       /* private_data */
    init_vertex_program,                /* create */
    dtr,                                /* destroy */
index 7a98db8..131f5ff 100644 (file)
@@ -45,8 +45,6 @@
 #include "nvvertexec.h"
 #include "nvprogram.h"
 
-#include "math/m_translate.h"
-
 #include "t_context.h"
 #include "t_pipeline.h"
 
@@ -231,6 +229,7 @@ static GLboolean init_vp( GLcontext *ctx,
       return GL_FALSE;
 
    /* Allocate arrays of vertex output values */
+   /* XXX change '15' to a named constant */
    for (i = 0; i < 15; i++) {
       _mesa_vector4f_alloc( &store->attribs[i], 0, size, 32 );
       store->attribs[i].size = 4;