OSDN Git Service

draw: fix missing immediates bug in polygon stipple code
authorBrian Paul <brianp@vmware.com>
Fri, 23 Mar 2012 20:53:48 +0000 (14:53 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 28 Mar 2012 17:43:18 +0000 (11:43 -0600)
commit7f16246acef4089570abca76a59580691ec6cf68
tree3ad6e9d2575d4ad5baef4a420da0cbd3b33ed66c
parentfc0a5e21d77ae2f082fd19dd2295e84f6fb7bd3b
draw: fix missing immediates bug in polygon stipple code

The function that counts the number of TGSI immediates also needs to
emit the immediates.  This fixes assorted failures when using polygon
stipple with fragment shaders that have their own immediates.

NOTE: This is a candidate for the 8.0 branch.
src/gallium/auxiliary/draw/draw_pipe_pstipple.c