remove dead vertex assembly

This commit is contained in:
Keith Whitwell
2002-04-09 14:58:03 +00:00
parent 851de7ded1
commit 0a79baf1bf
14 changed files with 14 additions and 91 deletions

View 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 # Mesa 3-D graphics library
# Version: 4.1 # Version: 4.1
@@ -81,13 +81,11 @@ CORE_SOURCES = \
X86/sse.c \ X86/sse.c \
math/m_debug_clip.c \ math/m_debug_clip.c \
math/m_debug_norm.c \ math/m_debug_norm.c \
math/m_debug_vertex.c \
math/m_debug_xform.c \ math/m_debug_xform.c \
math/m_eval.c \ math/m_eval.c \
math/m_matrix.c \ math/m_matrix.c \
math/m_translate.c \ math/m_translate.c \
math/m_vector.c \ math/m_vector.c \
math/m_vertices.c \
math/m_xform.c \ math/m_xform.c \
array_cache/ac_context.c \ array_cache/ac_context.c \
array_cache/ac_import.c \ array_cache/ac_import.c \

View 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 # Mesa 3-D graphics library
# Version: 4.1 # Version: 4.1
@@ -81,13 +81,11 @@ CORE_SOURCES = \
X86/sse.c \ X86/sse.c \
math/m_debug_clip.c \ math/m_debug_clip.c \
math/m_debug_norm.c \ math/m_debug_norm.c \
math/m_debug_vertex.c \
math/m_debug_xform.c \ math/m_debug_xform.c \
math/m_eval.c \ math/m_eval.c \
math/m_matrix.c \ math/m_matrix.c \
math/m_translate.c \ math/m_translate.c \
math/m_vector.c \ math/m_vector.c \
math/m_vertices.c \
math/m_xform.c \ math/m_xform.c \
array_cache/ac_context.c \ array_cache/ac_context.c \
array_cache/ac_import.c \ array_cache/ac_import.c \

View 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 * Mesa 3-D graphics library
@@ -55,7 +55,6 @@
#include "vpstate.h" #include "vpstate.h"
#include "vtxfmt.h" #include "vtxfmt.h"
#include "math/m_translate.h" #include "math/m_translate.h"
#include "math/m_vertices.h"
#include "math/m_matrix.h" #include "math/m_matrix.h"
#include "math/m_xform.h" #include "math/m_xform.h"
#include "math/mathmod.h" #include "math/mathmod.h"

View 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 * Mesa 3-D graphics library
@@ -33,7 +33,6 @@
*/ */
#include <math.h> #include <math.h>
#include "m_vertices.h"
/* /*

View 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 * Mesa 3-D graphics library
@@ -220,6 +220,5 @@ _math_init( void )
{ {
_math_init_transformation(); _math_init_transformation();
_math_init_translate(); _math_init_translate();
_math_init_vertices();
_math_init_eval(); _math_init_eval();
} }

View 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 * Mesa 3-D graphics library
@@ -30,7 +30,6 @@
#include "context.h" #include "context.h"
#include "math/m_vertices.h"
#include "math/m_xform.h" #include "math/m_xform.h"
#include "tnl/t_context.h" #include "tnl/t_context.h"
#include "sparc.h" #include "sparc.h"

View 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 * Mesa 3-D graphics library
@@ -31,7 +31,6 @@
#include "glheader.h" #include "glheader.h"
#include "context.h" #include "context.h"
#include "math/m_vertices.h"
#include "math/m_xform.h" #include "math/m_xform.h"
#include "tnl/t_context.h" #include "tnl/t_context.h"
@@ -91,16 +90,4 @@ void _mesa_init_3dnow_transform_asm( void )
#endif #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
}

View 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 * Mesa 3-D graphics library
@@ -35,6 +35,5 @@
#include "math/m_xform.h" #include "math/m_xform.h"
void _mesa_init_3dnow_transform_asm( void ); void _mesa_init_3dnow_transform_asm( void );
void _mesa_init_3dnow_vertex_asm( void );
#endif #endif

View 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 * Mesa 3-D graphics library
@@ -273,26 +273,3 @@ void _mesa_init_all_x86_transform_asm( void )
#endif #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
}

View 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 * Mesa 3-D graphics library
@@ -60,6 +60,5 @@
extern int _mesa_x86_cpu_features; extern int _mesa_x86_cpu_features;
extern void _mesa_init_all_x86_transform_asm( void ); extern void _mesa_init_all_x86_transform_asm( void );
extern void _mesa_init_all_x86_vertex_asm( void );
#endif #endif

View 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 * Mesa 3-D graphics library
@@ -31,7 +31,6 @@
#include "glheader.h" #include "glheader.h"
#include "context.h" #include "context.h"
#include "math/m_vertices.h"
#include "math/m_xform.h" #include "math/m_xform.h"
#include "tnl/t_context.h" #include "tnl/t_context.h"
@@ -118,19 +117,3 @@ void _mesa_init_sse_transform_asm( void )
#endif #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
}

View 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 * Mesa 3-D graphics library
@@ -35,6 +35,5 @@
#include "math/m_xform.h" #include "math/m_xform.h"
void _mesa_init_sse_transform_asm( void ); void _mesa_init_sse_transform_asm( void );
void _mesa_init_sse_vertex_asm( void );
#endif #endif

View 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 * Mesa 3-D graphics library
@@ -30,7 +30,6 @@
#include "glheader.h" #include "glheader.h"
#include "context.h" #include "context.h"
#include "math/m_vertices.h"
#include "math/m_xform.h" #include "math/m_xform.h"
#include "tnl/t_context.h" #include "tnl/t_context.h"
@@ -95,14 +94,3 @@ void _mesa_init_x86_transform_asm( void )
#endif #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
}

View 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 * Mesa 3-D graphics library
@@ -32,6 +32,5 @@
#define __X86_H__ #define __X86_H__
extern void _mesa_init_x86_transform_asm( void ); extern void _mesa_init_x86_transform_asm( void );
extern void _mesa_init_x86_vertex_asm( void );
#endif #endif