From: Christoph Bumiller Date: Sat, 29 Aug 2009 15:22:12 +0000 (+0200) Subject: nv50: set provoking vertex state X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8313801911426a9a7b0bdbf2d6a4b2232428cc5b;p=mesa.git nv50: set provoking vertex state --- diff --git a/src/gallium/drivers/nv50/nv50_state.c b/src/gallium/drivers/nv50/nv50_state.c index ef4154d3036..4283808ed93 100644 --- a/src/gallium/drivers/nv50/nv50_state.c +++ b/src/gallium/drivers/nv50/nv50_state.c @@ -273,6 +273,8 @@ nv50_rasterizer_state_create(struct pipe_context *pipe, so_method(so, tesla, NV50TCL_SHADE_MODEL, 1); so_data (so, cso->flatshade ? NV50TCL_SHADE_MODEL_FLAT : NV50TCL_SHADE_MODEL_SMOOTH); + so_method(so, tesla, 0x1684, 1); + so_data (so, cso->flatshade_first ? 0 : 1); so_method(so, tesla, NV50TCL_LINE_WIDTH, 1); so_data (so, fui(cso->line_width));