diff options
author | Corbin Simpson <[email protected]> | 2009-06-26 21:48:09 -0700 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-06-26 21:48:09 -0700 |
commit | 3f15acb7e8575faeacc50dcede6d68b1e583727d (patch) | |
tree | 9d2dc3664f4e654196583c68869ae02a2a4da2e3 /src/gallium/drivers/r300/r300_state.c | |
parent | 6ebcdc754914bac7db005594a1495cceb6c3d85d (diff) |
r300g: EXT_provoking_vertex.
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_state.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index d70ef6ba28f..163b14ef8e6 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -421,6 +421,10 @@ static void* r300_create_rs_state(struct pipe_context* pipe, rs->color_control = R300_SHADE_MODEL_SMOOTH; } + if (!state->flatshade_first) { + rs->color_control |= R300_GA_COLOR_CONTROL_PROVOKING_VERTEX_LAST; + } + return (void*)rs; } |