From 8313801911426a9a7b0bdbf2d6a4b2232428cc5b Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Sat, 29 Aug 2009 17:22:12 +0200 Subject: [PATCH] nv50: set provoking vertex state --- src/gallium/drivers/nv50/nv50_state.c | 2 ++ 1 file changed, 2 insertions(+) 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)); -- 2.30.2