summaryrefslogtreecommitdiffstats
path: root/src/mesa/x86/x86.c
diff options
context:
space:
mode:
authorGareth Hughes <[email protected]>2001-05-21 16:33:41 +0000
committerGareth Hughes <[email protected]>2001-05-21 16:33:41 +0000
commite7e38a47a8dd567fd5a848cbef09b14018fb2fe0 (patch)
treed10dc2886dbca967d560a4972f40a719489f29c5 /src/mesa/x86/x86.c
parente9482d004f7b4bdc99312a89c33c061f31552bda (diff)
Initial commit of cliptest work. More to come shortly.
- Add debug, benchmark code. - Change linux/x86 FAST_MATH code to GCC/x86, and clear FP exceptions before exiting the fast math block. - Remove divide-by-zero test in x86 cliptest, and set clipped vertices to [0,0,0,1] instead of leaving them uninitialized.
Diffstat (limited to 'src/mesa/x86/x86.c')
-rw-r--r--src/mesa/x86/x86.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/x86/x86.c b/src/mesa/x86/x86.c
index b2b442c87e2..03104d5370e 100644
--- a/src/mesa/x86/x86.c
+++ b/src/mesa/x86/x86.c
@@ -1,4 +1,4 @@
-/* $Id: x86.c,v 1.22 2001/05/13 18:55:15 gareth Exp $ */
+/* $Id: x86.c,v 1.23 2001/05/21 16:33:41 gareth Exp $ */
/*
* Mesa 3-D graphics library
@@ -90,6 +90,7 @@ void _mesa_init_x86_transform_asm( void )
#ifdef DEBUG
_math_test_all_transform_functions( "x86" );
+ _math_test_all_cliptest_functions( "x86" );
#endif
#endif
}
@@ -100,7 +101,7 @@ void _mesa_init_x86_vertex_asm( void )
_mesa_xform_points3_v16_general = _mesa_v16_x86_general_xform;
_mesa_cliptest_points4_v16 = _mesa_v16_x86_cliptest_points4;
-#ifdef DEBUG
+#ifdef 0 /* DEBUG */
_math_test_all_vertex_functions( "x86" );
#endif
#endif