[Mesa-dev] [PATCH 02/13] swrast: Remove unused solve_plane_recip().
Matt Turner
mattst88 at gmail.com
Sun Jun 15 10:16:02 PDT 2014
Unused since commit 9e8a961d.
---
src/mesa/swrast/s_aatriangle.c | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/src/mesa/swrast/s_aatriangle.c b/src/mesa/swrast/s_aatriangle.c
index d670d31..2192827 100644
--- a/src/mesa/swrast/s_aatriangle.c
+++ b/src/mesa/swrast/s_aatriangle.c
@@ -112,20 +112,6 @@ solve_plane(GLfloat x, GLfloat y, const GLfloat plane[4])
/*
- * 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.
*/
static inline GLchan
--
1.8.3.2
More information about the mesa-dev
mailing list