summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/draw/draw_clip.c
diff options
context:
space:
mode:
authorZack Rusin <zack@tungstengraphics.com>2007-10-03 10:31:42 -0400
committerZack Rusin <zack@tungstengraphics.com>2007-10-03 10:33:38 -0400
commitb46926c4beff4ac14ac0cf2e3bc52f8118ed4d2a (patch)
treecaf4260b8d06a30866f58cc1c9d761a73f73566d /src/mesa/pipe/draw/draw_clip.c
parentcdd38d487a311e6c71b76382d428f5dc26caf067 (diff)
Unify the definitions of the 4 component dot product into one
location.
Diffstat (limited to 'src/mesa/pipe/draw/draw_clip.c')
-rw-r--r--src/mesa/pipe/draw/draw_clip.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/mesa/pipe/draw/draw_clip.c b/src/mesa/pipe/draw/draw_clip.c
index 4e1483f025..222022d6c1 100644
--- a/src/mesa/pipe/draw/draw_clip.c
+++ b/src/mesa/pipe/draw/draw_clip.c
@@ -138,20 +138,6 @@ static void interp( const struct clipper *clip,
}
}
-
-
-static INLINE float dot4( const float *a,
- const float *b )
-{
- float result = (a[0]*b[0] +
- a[1]*b[1] +
- a[2]*b[2] +
- a[3]*b[3]);
-
- return result;
-}
-
-
#if 0
static INLINE void do_tri( struct draw_stage *next,
struct prim_header *header )