From: José Fonseca Date: Sat, 24 Apr 2010 11:00:06 +0000 (+0100) Subject: llvmpipe: Pass flatshade_first to setup. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=30a1c36dc85f0928a9adb69630c418f9aabbdd98;p=mesa.git llvmpipe: Pass flatshade_first to setup. Fixes piglit provoking-vertex. --- 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;