swrast: Remove unused solve_plane_recip().
authorMatt Turner <mattst88@gmail.com>
Sun, 15 Jun 2014 05:38:18 +0000 (22:38 -0700)
committerMatt Turner <mattst88@gmail.com>
Tue, 17 Jun 2014 17:18:11 +0000 (10:18 -0700)
Unused since commit 9e8a961d.

Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/mesa/swrast/s_aatriangle.c

index d670d315442e0d03a75587c90a6c18b6dadbf932..21928274894400fcb6fb7a48bf2a3921b97efcc0 100644 (file)
@@ -111,20 +111,6 @@ solve_plane(GLfloat x, GLfloat y, const GLfloat plane[4])
    ((PLANE[3] + PLANE[0] * (X) + PLANE[1] * (Y)) / -PLANE[2])
 
 
-/*
- * Return 1 / solve_plane().
- */
-static inline GLfloat
-solve_plane_recip(GLfloat x, GLfloat y, const GLfloat plane[4])
-{
-   const GLfloat denom = plane[3] + plane[0] * x + plane[1] * y;
-   if (denom == 0.0F)
-      return 0.0F;
-   else
-      return -plane[2] / denom;
-}
-
-
 /*
  * Solve plane and return clamped GLchan value.
  */