draw: make sure that the stages setup outputs
authorZack Rusin <zackr@vmware.com>
Fri, 9 Aug 2013 14:11:31 +0000 (10:11 -0400)
committerZack Rusin <zackr@vmware.com>
Wed, 14 Aug 2013 22:23:35 +0000 (18:23 -0400)
commita3ae5dc7dd5c2f8893f86a920247e690e550ebd4
tree0c8ab07edf93210be4d0f20e95886b206c927e52
parent98d2498404ba69a3efc1c765b1a1885d151181ed
draw: make sure that the stages setup outputs

Calling the prepare outputs cleans up the slot assignments
for outputs, unfortunately aapoint and aaline didn't have
code to reset their slots after the initial setup, this
was messing up our slot assignments. The unfilled stage
was just missing the initial assignment of the face slot.
This fixes all of the reported piglit failures.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/draw/draw_context.c
src/gallium/auxiliary/draw/draw_pipe.h
src/gallium/auxiliary/draw/draw_pipe_aaline.c
src/gallium/auxiliary/draw/draw_pipe_aapoint.c
src/gallium/auxiliary/draw/draw_pipe_unfilled.c