diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-04-24 12:00:06 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-04-24 12:00:06 +0100 |
commit | 30a1c36dc85f0928a9adb69630c418f9aabbdd98 (patch) | |
tree | e2bc9fae5173dc56154e91ccd205b8ddd01e62ee /src/gallium/drivers | |
parent | e94a092437d3c2ebe2a4c514cc1e3fce38c1d7e9 (diff) |
llvmpipe: Pass flatshade_first to setup.
Fixes piglit provoking-vertex.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_state_rasterizer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_rasterizer.c b/src/gallium/drivers/llvmpipe/lp_state_rasterizer.c index 47f65fe72d..3fba5e4e75 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; |