diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-09-20 13:42:37 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-09-20 13:43:23 -0600 |
commit | 086734502a614e7778533018846ee66a66df9821 (patch) | |
tree | 80fc84b09af1915693bb6cf2c8596fb61a6cb1b4 /src/mesa/pipe/draw/draw_feedback.c | |
parent | 745f0cbe0528ac925096f5c1b85de7280fee7fbc (diff) |
Checkpoint: vertex attribute clean-up.
Remove/disable the attrib/slot mapping arrays in a few places.
Work in progress...
Diffstat (limited to 'src/mesa/pipe/draw/draw_feedback.c')
-rw-r--r-- | src/mesa/pipe/draw/draw_feedback.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/pipe/draw/draw_feedback.c b/src/mesa/pipe/draw/draw_feedback.c index ecdd98e83d..3b8400233e 100644 --- a/src/mesa/pipe/draw/draw_feedback.c +++ b/src/mesa/pipe/draw/draw_feedback.c @@ -78,7 +78,7 @@ feedback_vertex(struct draw_stage *stage, const struct vertex_header *vertex) * we can either address output buffer 0 (for interleaving) or * output buffer i (for non-interleaved). */ - +#if 0 for (i = 0; i < feedback->num_attribs; i++) { const uint attr = feedback->attrib[i]; const uint slot = stage->draw->vertex_info.attrib_to_slot[attr]; @@ -104,6 +104,7 @@ feedback_vertex(struct draw_stage *stage, const struct vertex_header *vertex) } fs->dest[i * select] += size; } +#endif fs->num_vert_emitted++; } |