draw: Never allocate duplicate extra vertex attribs.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 23 Sep 2011 18:55:47 +0000 (19:55 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Sun, 25 Sep 2011 10:04:31 +0000 (11:04 +0100)
commit102bf6e2a70f565f03d5e9c4995b29d61c0aa165
tree23467d880e597168f725bd040bb801cd07750745
parentfc31f9a3f255c5565ce2a3e9c73415bc17199e28
draw: Never allocate duplicate extra vertex attribs.

Prevents mismatches when the VS outputs generic attributes not used by
the FS.

Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/draw/draw_context.c
src/gallium/auxiliary/draw/draw_context.h
src/gallium/auxiliary/draw/draw_pipe_aaline.c
src/gallium/auxiliary/draw/draw_pipe_aapoint.c
src/gallium/auxiliary/draw/draw_pipe_wide_point.c