From 30a1c36dc85f0928a9adb69630c418f9aabbdd98 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Sat, 24 Apr 2010 12:00:06 +0100 Subject: llvmpipe: Pass flatshade_first to setup. Fixes piglit provoking-vertex. --- src/gallium/drivers/llvmpipe/lp_state_rasterizer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium') diff --git a/src/gallium/drivers/llvmpipe/lp_state_rasterizer.c b/src/gallium/drivers/llvmpipe/lp_state_rasterizer.c index 47f65fe72d1..3fba5e4e75d 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_rasterizer.c +++ b/src/gallium/drivers/llvmpipe/lp_state_rasterizer.c @@ -71,6 +71,8 @@ llvmpipe_bind_rasterizer_state(struct pipe_context *pipe, void *handle) llvmpipe->rasterizer->front_winding == PIPE_WINDING_CCW, llvmpipe->rasterizer->scissor, llvmpipe->rasterizer->gl_rasterization_rules); + lp_setup_set_flatshade_first( llvmpipe->setup, + llvmpipe->rasterizer->flatshade_first); } llvmpipe->dirty |= LP_NEW_RASTERIZER; -- cgit v1.2.3