Mesa (master): swrast: Remove unused solve_plane_recip().
Matt Turner
mattst88 at kemper.freedesktop.org
Tue Jun 17 17:18:54 UTC 2014
Module: Mesa
Branch: master
Commit: d2458a471094dce70cfa0dc587d762d79c337705
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d2458a471094dce70cfa0dc587d762d79c337705
Author: Matt Turner <mattst88 at gmail.com>
Date: Sat Jun 14 22:38:18 2014 -0700
swrast: Remove unused solve_plane_recip().
Unused since commit 9e8a961d.
Reviewed-by: Tapani Pälli <tapani.palli at intel.com>
Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>
---
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
More information about the mesa-commit
mailing list