llvmpipe: remove unused subpixel_snap() and fixed_to_float()
[mesa.git] / src / gallium / drivers / llvmpipe / lp_setup_tri.c
index 98243a12de1b65edfc59441b976ab452d1168df6..a7a5d05c328a0ebc6a8021bf320c663268291207 100644 (file)
 #include "util/u_pwr8.h"
 #endif
 
+#if !defined(PIPE_ARCH_SSE)
+
 static inline int
 subpixel_snap(float a)
 {
    return util_iround(FIXED_ONE * a);
 }
 
-static inline float
-fixed_to_float(int a)
-{
-   return a * (1.0f / FIXED_ONE);
-}
-
+#endif
 
 /* Position and area in fixed point coordinates */
 struct fixed_position {