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_clip_tmp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/math/m_clip_tmp.h') diff --git a/src/mesa/math/m_clip_tmp.h b/src/mesa/math/m_clip_tmp.h index 5f27d82959..b4426f5609 100644 --- a/src/mesa/math/m_clip_tmp.h +++ b/src/mesa/math/m_clip_tmp.h @@ -1,4 +1,4 @@ -/* $Id: m_clip_tmp.h,v 1.6 2001/03/12 00:48:41 gareth Exp $ */ +/* $Id: m_clip_tmp.h,v 1.7 2001/05/21 16:33:41 gareth Exp $ */ /* * Mesa 3-D graphics library @@ -109,8 +109,8 @@ static GLvector4f * _XFORMAPI TAG(cliptest_np_points4)( GLvector4f *clip_vec, GLubyte *andMask ) { const GLuint stride = clip_vec->stride; - const GLfloat *from = (GLfloat *)clip_vec->start; const GLuint count = clip_vec->count; + const GLfloat *from = (GLfloat *)clip_vec->start; GLuint c = 0; GLubyte tmpAndMask = *andMask; GLubyte tmpOrMask = *orMask; -- cgit v1.2.3