diff options
author | Gareth Hughes <[email protected]> | 2001-05-21 16:33:41 +0000 |
---|---|---|
committer | Gareth Hughes <[email protected]> | 2001-05-21 16:33:41 +0000 |
commit | e7e38a47a8dd567fd5a848cbef09b14018fb2fe0 (patch) | |
tree | d10dc2886dbca967d560a4972f40a719489f29c5 /src/mesa/math/m_clip_tmp.h | |
parent | e9482d004f7b4bdc99312a89c33c061f31552bda (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/math/m_clip_tmp.h')
-rw-r--r-- | src/mesa/math/m_clip_tmp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/math/m_clip_tmp.h b/src/mesa/math/m_clip_tmp.h index 5f27d82959a..b4426f5609b 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; |