diff options
author | Keith Whitwell <[email protected]> | 2008-04-17 13:14:55 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-04-17 14:23:13 +0100 |
commit | 49becd2d7c751e563ce6be9051dd8e6dad88d1f7 (patch) | |
tree | 7b3f2a4ebb658567a78839a6abc1b0934b64ff3a /src/gallium/auxiliary/draw | |
parent | c96d565643de271c6bda066e892b25d0a97ea4d0 (diff) |
draw: add comment
Diffstat (limited to 'src/gallium/auxiliary/draw')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_pt_fetch_emit.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c b/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c index 1a9d331a065..d696afa1aac 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; |