summaryrefslogtreecommitdiffstats
path: root/src/mesa/math/m_xform.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-05-23 14:27:03 +0000
committerBrian Paul <[email protected]>2001-05-23 14:27:03 +0000
commit7943b349d696f8030f0d2f836ad42a762f4c6026 (patch)
treef6ff639bac006d8d755f06ce5e937571e255c508 /src/mesa/math/m_xform.c
parent8bd06931018d5662b92f1cfeee2abaf352d0044c (diff)
SPARC assembly optimizations from David Miller.
Diffstat (limited to 'src/mesa/math/m_xform.c')
-rw-r--r--src/mesa/math/m_xform.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mesa/math/m_xform.c b/src/mesa/math/m_xform.c
index 69430848be2..c043b09069a 100644
--- a/src/mesa/math/m_xform.c
+++ b/src/mesa/math/m_xform.c
@@ -1,4 +1,4 @@
-/* $Id: m_xform.c,v 1.13 2001/05/21 16:33:41 gareth Exp $ */
+/* $Id: m_xform.c,v 1.14 2001/05/23 14:27:03 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -56,6 +56,10 @@
#include "X86/common_x86_asm.h"
#endif
+#ifdef USE_SPARC_ASM
+#include "SPARC/sparc.h"
+#endif
+
clip_func _mesa_clip_tab[5];
clip_func _mesa_clip_np_tab[5];
dotprod_func _mesa_dotprod_tab[5];
@@ -206,6 +210,9 @@ _math_init_transformation( void )
#ifdef USE_X86_ASM
_mesa_init_all_x86_transform_asm();
#endif
+#ifdef USE_SPARC_ASM
+ _mesa_init_all_sparc_transform_asm();
+#endif
}
void