diff options
author | Brian Paul <[email protected]> | 2002-06-03 16:06:34 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-06-03 16:06:34 +0000 |
commit | f5a078197552bc956322e2fa292b034e4ccb9d82 (patch) | |
tree | 868c34dd27374bdb07d2e20ef4a1dd72e23d66b3 /src/mesa/math/m_clip_tmp.h | |
parent | 91d6f12b4ad4d5dde42ef0c86e4531a60f770dbd (diff) |
bring over Michel Daenzer's DRI changes
Diffstat (limited to 'src/mesa/math/m_clip_tmp.h')
-rw-r--r-- | src/mesa/math/m_clip_tmp.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/math/m_clip_tmp.h b/src/mesa/math/m_clip_tmp.h index b4426f5609b..bdb538a2ddf 100644 --- a/src/mesa/math/m_clip_tmp.h +++ b/src/mesa/math/m_clip_tmp.h @@ -1,10 +1,10 @@ -/* $Id: m_clip_tmp.h,v 1.7 2001/05/21 16:33:41 gareth Exp $ */ +/* $Id: m_clip_tmp.h,v 1.8 2002/06/03 16:06:34 brianp Exp $ */ /* * Mesa 3-D graphics library - * Version: 3.5 + * Version: 4.0.3 * - * Copyright (C) 1999-2001 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2002 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -54,7 +54,7 @@ static GLvector4f * _XFORMAPI TAG(cliptest_points4)( GLvector4f *clip_vec, const GLfloat cy = from[1]; const GLfloat cz = from[2]; const GLfloat cw = from[3]; -#if defined(macintosh) +#if defined(macintosh) || defined(__powerpc__) /* on powerpc cliptest is 17% faster in this way. */ GLuint mask; mask = (((cw < cx) << CLIP_RIGHT_SHIFT)); @@ -120,7 +120,7 @@ static GLvector4f * _XFORMAPI TAG(cliptest_np_points4)( GLvector4f *clip_vec, const GLfloat cy = from[1]; const GLfloat cz = from[2]; const GLfloat cw = from[3]; -#if defined(macintosh) +#if defined(macintosh) || defined(__powerpc__) /* on powerpc cliptest is 17% faster in this way. */ GLuint mask; mask = (((cw < cx) << CLIP_RIGHT_SHIFT)); |