intel: Transition intel_region_map() to being a miptree operation.
[mesa.git] / src / mesa / tnl / t_vb_points.c
index 9edbbc708e60c1b2f7237d69e91dadc4cf8e4217..0e33b691e0f83d8f717464e279aa622c67a91a9b 100644 (file)
@@ -64,7 +64,7 @@ run_point_stage(struct gl_context *ctx, struct tnl_pipeline_stage *stage)
       for (i = 0; i < VB->Count; i++) {
          const GLfloat dist = FABSF(*eyeCoord);
          const GLfloat q = p0 + dist * (p1 + dist * p2);
-         const GLfloat atten = (q != 0.0F) ? SQRTF(1.0F / q) : 1.0F;
+         const GLfloat atten = (q != 0.0F) ? INV_SQRTF(q) : 1.0F;
          size[i][0] = pointSize * atten; /* clamping done in rasterization */
          eyeCoord += eyeCoordStride;
       }