diff options
author | Zack Rusin <[email protected]> | 2013-08-09 10:11:31 -0400 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2013-08-14 18:23:35 -0400 |
commit | a3ae5dc7dd5c2f8893f86a920247e690e550ebd4 (patch) | |
tree | 0c8ab07edf93210be4d0f20e95886b206c927e52 /src/gallium/auxiliary/draw/draw_context.c | |
parent | 98d2498404ba69a3efc1c765b1a1885d151181ed (diff) |
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 <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_context.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_context.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxiliary/draw/draw_context.c index 2d4843ebe25..d1fac0c6c1d 100644 --- a/src/gallium/auxiliary/draw/draw_context.c +++ b/src/gallium/auxiliary/draw/draw_context.c @@ -564,6 +564,8 @@ draw_prepare_shader_outputs(struct draw_context *draw) draw_remove_extra_vertex_attribs(draw); draw_prim_assembler_prepare_outputs(draw->ia); draw_unfilled_prepare_outputs(draw, draw->pipeline.unfilled); + draw_aapoint_prepare_outputs(draw, draw->pipeline.aapoint); + draw_aaline_prepare_outputs(draw, draw->pipeline.aaline); } /** |