From: Keith Whitwell Date: Thu, 17 Apr 2008 12:14:55 +0000 (+0100) Subject: draw: add comment X-Git-Tag: 062012170305~17580^2~390^2~1847 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=49becd2d7c751e563ce6be9051dd8e6dad88d1f7;p=profile%2Fivi%2Fmesa.git draw: add comment --- diff --git a/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c b/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c index 1a9d331..d696afa 100644 --- a/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c +++ b/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c @@ -185,6 +185,11 @@ static void fetch_emit_prepare( struct draw_pt_middle_end *middle, */ vinfo = draw->render->get_vertex_info(draw->render); + + /* This is unique as it transforms straight from API vertex + * information to HW vertices. All other cases go through our + * intermediate float[4] format. + */ for (i = 0; i < vinfo->num_attribs; i++) { unsigned src_element = vinfo->src_index[i]; unsigned src_buffer = draw->vertex_element[src_element].vertex_buffer_index;