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 38950d66b8deee48d91cad70d407e172d9a02f90..1b8fe0dd033a354445e335b246829aa8903a6f99 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 a2d55b2f65070f7b0734e0fd59ecc0890847e57c..2efe701a802a1e6d94c99cdc284bdb10783dcdaa 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 0b39f77ae864d60ff129eaa505d7b6843e7b62a8..a590875950c2f16560745a1427f50c00af053b20 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 7a98db85fdc386e12d44e0a3433953410ca485ef..131f5ffa5776f7dba1f515e37b439b92b6e4b0c3 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;