From e7e38a47a8dd567fd5a848cbef09b14018fb2fe0 Mon Sep 17 00:00:00 2001 From: Gareth Hughes Date: Mon, 21 May 2001 16:33:41 +0000 Subject: 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. --- src/mesa/math/m_xform.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mesa/math/m_xform.c') diff --git a/src/mesa/math/m_xform.c b/src/mesa/math/m_xform.c index 6c938ea38b..69430848be 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.12 2001/03/30 14:44:43 gareth Exp $ */ +/* $Id: m_xform.c,v 1.13 2001/05/21 16:33:41 gareth Exp $ */ /* * Mesa 3-D graphics library @@ -200,6 +200,7 @@ _math_init_transformation( void ) #ifdef DEBUG _math_test_all_transform_functions( "default" ); _math_test_all_normal_transform_functions( "default" ); + _math_test_all_cliptest_functions( "default" ); #endif #ifdef USE_X86_ASM -- cgit v1.2.3