draw: Mask out vertex flags in GS and stream output.
authorChia-I Wu <olv@lunarg.com>
Wed, 4 Aug 2010 06:39:16 +0000 (14:39 +0800)
committerChia-I Wu <olv@lunarg.com>
Fri, 6 Aug 2010 05:39:37 +0000 (13:39 +0800)
commitf1fc444bb05421404f42e8d08e9085c6fb6ce7a9
treee1e80297e2f26db2863925009f150f58b47cb421
parenteb3c6ddafb7a1b544243e9dec991cc24d16940ea
draw: Mask out vertex flags in GS and stream output.

This fixes out-of-bound access to the vertices.
src/gallium/auxiliary/draw/draw_gs.c
src/gallium/auxiliary/draw/draw_pt_so_emit.c