gallium: remove some debug assertions in vertex format validation
[mesa.git] / src / mesa / swrast / s_span.c
index cfc65bee87fe101310a3e3298c8e8cd161f0aaaf..d9c1d1bec7dde719a2a59208c4ca58225f49e8a6 100644 (file)
@@ -1180,7 +1180,7 @@ shade_texture_span(GLcontext *ctx, SWspan *span)
       if (span->primitive == GL_BITMAP && span->array->ChanType != GL_FLOAT) {
          convert_color_type(span, GL_FLOAT, 0);
       }
-      if (span->primitive != GL_POINT) {
+      if (span->primitive != GL_POINT || ctx->Point.PointSprite) {
          /* for points, we populated the arrays already */
          interpolate_active_attribs(ctx, span, ~0);
       }