draw: add comment
authorKeith Whitwell <keith@tungstengraphics.com>
Thu, 17 Apr 2008 12:14:55 +0000 (13:14 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Thu, 17 Apr 2008 13:23:13 +0000 (14:23 +0100)
src/gallium/auxiliary/draw/draw_pt_fetch_emit.c

index 1a9d331a06580e4324fb32c9975dda8a80737310..d696afa1aacb7934c2b46860a206530d4a57f582 100644 (file)
@@ -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;