From 478d1e2c9c73fc29542375c44d01ab964ce8eccf Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 20 Sep 2007 14:08:09 -0600 Subject: remove old/used code --- src/mesa/pipe/draw/draw_vertex.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/mesa/pipe/draw/draw_vertex.c') diff --git a/src/mesa/pipe/draw/draw_vertex.c b/src/mesa/pipe/draw/draw_vertex.c index ab4e6c7864..6f81e6e8a3 100644 --- a/src/mesa/pipe/draw/draw_vertex.c +++ b/src/mesa/pipe/draw/draw_vertex.c @@ -45,7 +45,7 @@ static INLINE void -emit_vertex_attr(struct vertex_info *vinfo, /*uint vfAttr,*/ +emit_vertex_attr(struct vertex_info *vinfo, attrib_format format, interp_mode interp) { const uint n = vinfo->num_attribs; @@ -112,15 +112,15 @@ draw_set_vertex_attributes( struct draw_context *draw, /* * First three attribs are always the same: header, clip pos, winpos */ - emit_vertex_attr(vinfo, /*TGSI_ATTRIB_VERTEX_HEADER,*/ FORMAT_1F, INTERP_NONE); - emit_vertex_attr(vinfo, /*TGSI_ATTRIB_CLIP_POS,*/ FORMAT_4F, INTERP_LINEAR); - emit_vertex_attr(vinfo, /*TGSI_ATTRIB_POS,*/ FORMAT_4F_VIEWPORT, INTERP_LINEAR); + emit_vertex_attr(vinfo, FORMAT_1F, INTERP_NONE); + emit_vertex_attr(vinfo, FORMAT_4F, INTERP_LINEAR); + emit_vertex_attr(vinfo, FORMAT_4F_VIEWPORT, INTERP_LINEAR); /* * Remaining attribs (color, texcoords, etc) */ for (i = 1; i < nr_attrs; i++) { - emit_vertex_attr(vinfo, /*slot_to_vf_attr[i],*/ FORMAT_4F, interps[i]); + emit_vertex_attr(vinfo, FORMAT_4F, interps[i]); } draw_compute_vertex_size(vinfo); -- cgit v1.2.3