OSDN Git Service

remove dead vertex assembly
authorKeith Whitwell <keith@tungstengraphics.com>
Tue, 9 Apr 2002 14:58:03 +0000 (14:58 +0000)
committerKeith Whitwell <keith@tungstengraphics.com>
Tue, 9 Apr 2002 14:58:03 +0000 (14:58 +0000)
14 files changed:
src/mesa/Makefile.X11
src/mesa/main/Makefile.X11
src/mesa/main/context.c
src/mesa/math/m_norm_tmp.h
src/mesa/math/m_xform.c
src/mesa/sparc/sparc.c
src/mesa/x86/3dnow.c
src/mesa/x86/3dnow.h
src/mesa/x86/common_x86.c
src/mesa/x86/common_x86_asm.h
src/mesa/x86/sse.c
src/mesa/x86/sse.h
src/mesa/x86/x86.c
src/mesa/x86/x86.h

index 57815ae..8ab3a30 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile.X11,v 1.66 2002/04/02 16:20:00 brianp Exp $
+# $Id: Makefile.X11,v 1.67 2002/04/09 14:58:03 keithw Exp $
 
 # Mesa 3-D graphics library
 # Version:  4.1
@@ -81,13 +81,11 @@ CORE_SOURCES = \
        X86/sse.c \
        math/m_debug_clip.c \
        math/m_debug_norm.c \
-       math/m_debug_vertex.c \
        math/m_debug_xform.c \
        math/m_eval.c \
        math/m_matrix.c \
        math/m_translate.c \
        math/m_vector.c \
-       math/m_vertices.c \
        math/m_xform.c \
        array_cache/ac_context.c \
        array_cache/ac_import.c \
index 57815ae..8ab3a30 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile.X11,v 1.66 2002/04/02 16:20:00 brianp Exp $
+# $Id: Makefile.X11,v 1.67 2002/04/09 14:58:03 keithw Exp $
 
 # Mesa 3-D graphics library
 # Version:  4.1
@@ -81,13 +81,11 @@ CORE_SOURCES = \
        X86/sse.c \
        math/m_debug_clip.c \
        math/m_debug_norm.c \
-       math/m_debug_vertex.c \
        math/m_debug_xform.c \
        math/m_eval.c \
        math/m_matrix.c \
        math/m_translate.c \
        math/m_vector.c \
-       math/m_vertices.c \
        math/m_xform.c \
        array_cache/ac_context.c \
        array_cache/ac_import.c \
index fa86aae..969b320 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: context.c,v 1.158 2002/03/29 17:27:59 brianp Exp $ */
+/* $Id: context.c,v 1.159 2002/04/09 14:58:03 keithw Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -55,7 +55,6 @@
 #include "vpstate.h"
 #include "vtxfmt.h"
 #include "math/m_translate.h"
-#include "math/m_vertices.h"
 #include "math/m_matrix.h"
 #include "math/m_xform.h"
 #include "math/mathmod.h"
index 767d1fe..7c8ec18 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: m_norm_tmp.h,v 1.10 2002/01/05 20:51:12 brianp Exp $ */
+/* $Id: m_norm_tmp.h,v 1.11 2002/04/09 14:58:04 keithw Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -33,7 +33,6 @@
  */
 
 #include <math.h>
-#include "m_vertices.h"
 
 
 /*
index c043b09..8875594 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: m_xform.c,v 1.14 2001/05/23 14:27:03 brianp Exp $ */
+/* $Id: m_xform.c,v 1.15 2002/04/09 14:58:04 keithw Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -220,6 +220,5 @@ _math_init( void )
 {
    _math_init_transformation();
    _math_init_translate();
-   _math_init_vertices();
    _math_init_eval();
 }
index 69e4463..d39751d 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: sparc.c,v 1.5 2001/06/06 22:55:28 davem69 Exp $ */
+/* $Id: sparc.c,v 1.6 2002/04/09 14:58:03 keithw Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -30,7 +30,6 @@
 
 
 #include "context.h"
-#include "math/m_vertices.h"
 #include "math/m_xform.h"
 #include "tnl/t_context.h"
 #include "sparc.h"
index 79fe879..2742de6 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: 3dnow.c,v 1.20 2001/11/19 13:52:41 keithw Exp $ */
+/* $Id: 3dnow.c,v 1.21 2002/04/09 14:58:03 keithw Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -31,7 +31,6 @@
 
 #include "glheader.h"
 #include "context.h"
-#include "math/m_vertices.h"
 #include "math/m_xform.h"
 #include "tnl/t_context.h"
 
@@ -91,16 +90,4 @@ void _mesa_init_3dnow_transform_asm( void )
 #endif
 }
 
-void _mesa_init_3dnow_vertex_asm( void )
-{
-#ifdef USE_3DNOW_ASM
-   _mesa_xform_points3_v16_general = _mesa_v16_3dnow_general_xform;
-
-   _mesa_project_v16 = _mesa_3dnow_project_vertices;
-   _mesa_project_clipped_v16 = _mesa_3dnow_project_clipped_vertices;
 
-#ifdef DEBUG_NOT
-   _math_test_all_vertex_functions( "3DNow!" );
-#endif
-#endif
-}
index de7c6d8..1f2fd8e 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: 3dnow.h,v 1.5 2001/03/28 20:44:43 gareth Exp $ */
+/* $Id: 3dnow.h,v 1.6 2002/04/09 14:58:03 keithw Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -35,6 +35,5 @@
 #include "math/m_xform.h"
 
 void _mesa_init_3dnow_transform_asm( void );
-void _mesa_init_3dnow_vertex_asm( void );
 
 #endif
index ba3a54c..30d70d2 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: common_x86.c,v 1.16 2001/06/06 18:12:35 brianp Exp $ */
+/* $Id: common_x86.c,v 1.17 2002/04/09 14:58:03 keithw Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -273,26 +273,3 @@ void _mesa_init_all_x86_transform_asm( void )
 #endif
 }
 
-/* Note: the above function must be called before this one, so that
- * _mesa_x86_cpu_features gets correctly initialized.
- */
-void _mesa_init_all_x86_vertex_asm( void )
-{
-#ifdef USE_X86_ASM
-   if ( _mesa_x86_cpu_features ) {
-      _mesa_init_x86_vertex_asm();
-   }
-
-#ifdef USE_3DNOW_ASM
-   if ( cpu_has_3dnow && getenv( "MESA_NO_3DNOW" ) == 0 ) {
-      _mesa_init_3dnow_vertex_asm();
-   }
-#endif
-
-#ifdef USE_SSE_ASM
-   if ( cpu_has_xmm && getenv( "MESA_NO_SSE" ) == 0 ) {
-      _mesa_init_sse_vertex_asm();
-   }
-#endif
-#endif
-}
index ba965e6..c5c2667 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: common_x86_asm.h,v 1.8 2001/03/29 06:46:16 gareth Exp $ */
+/* $Id: common_x86_asm.h,v 1.9 2002/04/09 14:58:03 keithw Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -60,6 +60,5 @@
 extern int _mesa_x86_cpu_features;
 
 extern void _mesa_init_all_x86_transform_asm( void );
-extern void _mesa_init_all_x86_vertex_asm( void );
 
 #endif
index bcabf5c..8e995c8 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: sse.c,v 1.2 2001/03/30 14:44:43 gareth Exp $ */
+/* $Id: sse.c,v 1.3 2002/04/09 14:58:03 keithw Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -31,7 +31,6 @@
 
 #include "glheader.h"
 #include "context.h"
-#include "math/m_vertices.h"
 #include "math/m_xform.h"
 #include "tnl/t_context.h"
 
@@ -118,19 +117,3 @@ void _mesa_init_sse_transform_asm( void )
 #endif
 }
 
-void _mesa_init_sse_vertex_asm( void )
-{
-#ifdef USE_SSE_ASM
-   _mesa_xform_points3_v16_general = _mesa_v16_sse_general_xform;
-#if 0
-   /* GH: These are broken.  I'm fixing them now.
-    */
-   _mesa_project_v16 = _mesa_sse_project_vertices;
-   _mesa_project_clipped_v16 = _mesa_sse_project_clipped_vertices;
-#endif
-
-#ifdef DEBUG_NOT
-   _math_test_all_vertex_functions( "SSE" );
-#endif
-#endif
-}
index 3ed1a95..98146a9 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: sse.h,v 1.1 2001/03/29 06:46:16 gareth Exp $ */
+/* $Id: sse.h,v 1.2 2002/04/09 14:58:03 keithw Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -35,6 +35,5 @@
 #include "math/m_xform.h"
 
 void _mesa_init_sse_transform_asm( void );
-void _mesa_init_sse_vertex_asm( void );
 
 #endif
index 9d71fe4..16586b9 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: x86.c,v 1.24 2001/05/31 23:06:01 brianp Exp $ */
+/* $Id: x86.c,v 1.25 2002/04/09 14:58:03 keithw Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -30,7 +30,6 @@
 
 #include "glheader.h"
 #include "context.h"
-#include "math/m_vertices.h"
 #include "math/m_xform.h"
 #include "tnl/t_context.h"
 
@@ -95,14 +94,3 @@ void _mesa_init_x86_transform_asm( void )
 #endif
 }
 
-void _mesa_init_x86_vertex_asm( void )
-{
-#ifdef USE_X86_ASM
-   _mesa_xform_points3_v16_general = _mesa_v16_x86_general_xform;
-   _mesa_cliptest_points4_v16 = _mesa_v16_x86_cliptest_points4;
-
-#if 0 /* DEBUG */
-   _math_test_all_vertex_functions( "x86" );
-#endif
-#endif
-}
index b614780..a646aff 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: x86.h,v 1.4 2001/03/28 20:44:44 gareth Exp $ */
+/* $Id: x86.h,v 1.5 2002/04/09 14:58:03 keithw Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -32,6 +32,5 @@
 #define __X86_H__
 
 extern void _mesa_init_x86_transform_asm( void );
-extern void _mesa_init_x86_vertex_asm( void );
 
 #endif