draw: mask off DRAW_PIPE_FLAG_MASK bits in prim decompose code
authorBrian Paul <brianp@vmware.com>
Wed, 23 Jun 2010 15:19:18 +0000 (09:19 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 23 Jun 2010 15:20:02 +0000 (09:20 -0600)
commit292eecca8c4284cbb343d954b76586fcaa26de2a
tree8b1ac5459cf37ba2207c4307dfbf85cb4c430ea0
parent985c2fca10b9338ef894cf8d34877dfbe7468e6e
draw: mask off DRAW_PIPE_FLAG_MASK bits in prim decompose code

Any elt may potentially have flags bits set so mask off those bits
everywhere.

Fixes crashes with demos/gamma.c, redbook/polys.c, etc. but polygon
stippling is still broken.
src/gallium/auxiliary/draw/draw_pipe.c